diff --git a/.github/workflows/ci-security.yml b/.github/workflows/ci-security.yml index b048468dc2..6aa0e7085b 100644 --- a/.github/workflows/ci-security.yml +++ b/.github/workflows/ci-security.yml @@ -67,7 +67,7 @@ jobs: dispatch-method: workflow_dispatch owner: ${{ github.repository_owner }} repo: ${{ github.event.pull_request.base.repo.name }} - ref: "refs/pull/${{ github.event.pull_request.number }}/merge" + ref: ${{ github.event.pull_request.head.ref }} workflow: ci-pipeline.yml token: ${{ github.token }} workflow-inputs: |