ci: fix update CI workflow condition for dedupe-check to use pull request head ref

This commit is contained in:
Vitaly Turovsky 2025-01-16 18:09:49 +07:00
commit b052422c99

View file

@ -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