From eac8f460c01544c7872b096f757a5b920a4e2da7 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Tue, 6 Feb 2024 21:46:44 -0700 Subject: [PATCH] Update workflow-run.yml --- .github/workflows/workflow-run.yml | 4 ++++ 1 file changed, 4 insertions(+) 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