ci: fix update CI workflow condition for dedupe-check to use pull request head ref
This commit is contained in:
parent
ce8e414528
commit
b052422c99
1 changed files with 1 additions and 1 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -42,7 +42,7 @@ jobs:
|
|||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
dedupe-check:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/next'
|
||||
if: github.event.pull_request.head.ref == 'next'
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue