Skip to content

Commit ee254a3

Browse files
authored
Merge pull request #22 from carpentries/update/workflows
Update Workflows to Version 0.11.11
2 parents 55407f6 + e987f5d commit ee254a3

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Diff for: .github/workflows/pr-comment.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
test-pr:
2222
name: "Test if pull request is valid"
2323
runs-on: ubuntu-latest
24-
if: >
25-
github.event.workflow_run.event == 'pull_request' &&
24+
if: >
25+
github.event.workflow_run.event == 'pull_request' &&
2626
github.event.workflow_run.conclusion == 'success'
2727
outputs:
2828
is_valid: ${{ steps.check-pr.outputs.VALID }}
@@ -104,9 +104,9 @@ jobs:
104104
git config --local user.name "GitHub Actions"
105105
CURR_HEAD=$(git rev-parse HEAD)
106106
git checkout --orphan md-outputs-PR-${NR}
107-
git add -A
107+
git add -A
108108
git commit -m "source commit: ${CURR_HEAD}"
109-
ls -A | grep -v '^.git$' | xargs rm -r
109+
ls -A | grep -v '^.git$' | xargs -I _ rm -r '_'
110110
cd ..
111111
unzip -o -d built built.zip
112112
cd built
@@ -129,7 +129,7 @@ jobs:
129129
with:
130130
run: ${{ github.event.workflow_run.id }}
131131
name: 'diff'
132-
132+
133133
- if: ${{ steps.dl.outputs.success == 'true' }}
134134
run: unzip ${{ github.workspace }}/diff.zip
135135

@@ -138,7 +138,7 @@ jobs:
138138
if: ${{ steps.dl.outputs.success == 'true' }}
139139
uses: carpentries/actions/comment-diff@main
140140
with:
141-
pr: ${{ env.NR }}
141+
pr: ${{ env.NR }}
142142
path: ${{ github.workspace }}/diff.md
143143

144144
# Comment if the PR is open and matches the SHA, but the workflow files have

Diff for: .github/workflows/sandpaper-version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.11.3
1+
0.11.11

0 commit comments

Comments
 (0)