File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1- 0.11.5
1+ 0.11.11
You can’t perform that action at this time.
0 commit comments