diff --git a/.github/workflows/workflow-run.yml b/.github/workflows/workflow-run.yml index 40d5e0e..0c37493 100644 --- a/.github/workflows/workflow-run.yml +++ b/.github/workflows/workflow-run.yml @@ -19,6 +19,8 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + with: + ref: ${{ github.event.workflow_run.head_branch }} - name: Get changed files id: changed-files @@ -42,6 +44,8 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + with: + ref: ${{ github.event.workflow_run.head_branch }} - name: Get changed files id: changed-files