Skip to content

Commit

Permalink
Fix proper SHA in check preventing accidentally merging PR (apache#12083
Browse files Browse the repository at this point in the history
)

The SHA in check was not working for PRs from forks.
  • Loading branch information
potiuk authored Nov 4, 2020
1 parent bec9f3b commit d559da1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/label_when_reviewed_workflow_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
name: "Please rebase or re-run to run full tests"
status: "in_progress"
sha: ${{ github.event.pull_request.head.sha }}
sha: ${{ steps.source-run-info.outputs.sourceHeadSha }}
details_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
output: >
{"summary":
Expand Down

0 comments on commit d559da1

Please sign in to comment.