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 @@ -145,7 +145,7 @@ jobs:
145145 continue-on-error : true # Will fail if nothing to commit
146146
147147 - name : Comment on PR
148- if : ${{ steps.git_commit .outcome == 'success' }}
148+ if : ${{ steps.git-commit .outcome == 'success' }}
149149 uses : marocchino/sticky-pull-request-comment@v2
150150 with :
151151 number : ${{ github.event.pull_request.number }}
@@ -164,14 +164,16 @@ jobs:
164164 **Run**: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
165165
166166 - name : git push
167- run : git push origin HEAD:${{ github.event.pull_request.head.ref }}
167+ run : git push origin HEAD:${{ env.HEAD_REF }}
168+ env :
169+ HEAD_REF : ${{ github.event.pull_request.head.ref }}
168170 if : steps.git-commit.outcome == 'success'
169171
170172 # This step is not really needed as the earlier push should cancel this run anyways.
171173 # But we are making sure that we abort if we had badly formatted files.
172174 - name : Exit if changed
173175 run : exit 1
174- if : ${{ steps.git_commit .outcome == 'success' }}
176+ if : ${{ steps.git-commit .outcome == 'success' }}
175177
176178 rust_tests :
177179 if : ${{ !cancelled() && !contains(github.event.pull_request.labels.*.name, 'skip:ci') }}
You can’t perform that action at this time.
0 commit comments