File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 21
21
test-pr :
22
22
name : " Test if pull request is valid"
23
23
runs-on : ubuntu-latest
24
- if : >
25
- github.event.workflow_run.event == 'pull_request' &&
24
+ if : >
25
+ github.event.workflow_run.event == 'pull_request' &&
26
26
github.event.workflow_run.conclusion == 'success'
27
27
outputs :
28
28
is_valid : ${{ steps.check-pr.outputs.VALID }}
@@ -104,9 +104,9 @@ jobs:
104
104
git config --local user.name "GitHub Actions"
105
105
CURR_HEAD=$(git rev-parse HEAD)
106
106
git checkout --orphan md-outputs-PR-${NR}
107
- git add -A
107
+ git add -A
108
108
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 '_'
110
110
cd ..
111
111
unzip -o -d built built.zip
112
112
cd built
@@ -129,7 +129,7 @@ jobs:
129
129
with :
130
130
run : ${{ github.event.workflow_run.id }}
131
131
name : ' diff'
132
-
132
+
133
133
- if : ${{ steps.dl.outputs.success == 'true' }}
134
134
run : unzip ${{ github.workspace }}/diff.zip
135
135
@@ -138,7 +138,7 @@ jobs:
138
138
if : ${{ steps.dl.outputs.success == 'true' }}
139
139
uses : carpentries/actions/comment-diff@main
140
140
with :
141
- pr : ${{ env.NR }}
141
+ pr : ${{ env.NR }}
142
142
path : ${{ github.workspace }}/diff.md
143
143
144
144
# Comment if the PR is open and matches the SHA, but the workflow files have
Original file line number Diff line number Diff line change 1
- 0.11.3
1
+ 0.11.11
You can’t perform that action at this time.
0 commit comments