File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ jobs:
146146 continue-on-error : true # Will fail if nothing to commit
147147
148148 - name : Comment on PR
149- if : ${{ steps.git_commit .outcome == 'success' }}
149+ if : ${{ steps.git-commit .outcome == 'success' }}
150150 uses : marocchino/sticky-pull-request-comment@v2
151151 with :
152152 number : ${{ github.event.pull_request.number }}
@@ -165,14 +165,16 @@ jobs:
165165 **Run**: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
166166
167167 - name : git push
168- run : git push origin HEAD:${{ github.event.pull_request.head.ref }}
168+ run : git push origin HEAD:${{ env.HEAD_REF }}
169+ env :
170+ HEAD_REF : ${{ github.event.pull_request.head.ref }}
169171 if : steps.git-commit.outcome == 'success'
170172
171173 # This step is not really needed as the earlier push should cancel this run anyways.
172174 # But we are making sure that we abort if we had badly formatted files.
173175 - name : Exit if changed
174176 run : exit 1
175- if : ${{ steps.git_commit .outcome == 'success' }}
177+ if : ${{ steps.git-commit .outcome == 'success' }}
176178
177179 rust_tests :
178180 if : ${{ !cancelled() && !contains(github.event.pull_request.labels.*.name, 'skip:ci') }}
You can’t perform that action at this time.
0 commit comments