From b052422c9978f48dcd2c0aa31371ff8c7baf4fcb Mon Sep 17 00:00:00 2001 From: Vitaly Turovsky Date: Thu, 16 Jan 2025 18:09:49 +0700 Subject: [PATCH] ci: fix update CI workflow condition for dedupe-check to use pull request head ref --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c0765839..3eb1fc74 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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