Merge pull request #6489 from str4d/ci-checks-fix-head-ref

CI: Use `github.head_ref` instead of `HEAD` for "recent base" check
This commit is contained in:
str4d 2023-03-15 17:56:38 +00:00 committed by GitHub
commit 1b7b73b794
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ jobs:
- name: Ensure branch contains necessary commits for Tekton CI
id: tekton
# https://github.com/zcash/zcash/pull/6358
run: git merge-base --is-ancestor 267ddf8efe36cc799c4c31772a8883ea332ef55b HEAD
run: git merge-base --is-ancestor 267ddf8efe36cc799c4c31772a8883ea332ef55b ${{ github.head_ref }}
- name: Tell PR author if they need to rebase
if: failure() && steps.tekton.outcome == 'failure'