You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2020/11/14 16:34:38 UTC
[airflow] 22/44: Fix proper SHA in check preventing accidentally
merging PR (#12083)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 64393ad508119197907f8a7aa61afa82dd506095
Author: Jarek Potiuk <ja...@polidea.com>
AuthorDate: Wed Nov 4 13:51:04 2020 +0100
Fix proper SHA in check preventing accidentally merging PR (#12083)
The SHA in check was not working for PRs from forks.
(cherry picked from commit d559da14b0a99b369ba027b4b6261321b6b8e03c)
---
.github/workflows/label_when_reviewed_workflow_run.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/label_when_reviewed_workflow_run.yml b/.github/workflows/label_when_reviewed_workflow_run.yml
index 56bc835..cdcbca5 100644
--- a/.github/workflows/label_when_reviewed_workflow_run.yml
+++ b/.github/workflows/label_when_reviewed_workflow_run.yml
@@ -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":