From 2c707d4e8a4ad65b8c355352d91c25dae5c24228 Mon Sep 17 00:00:00 2001 From: Bill Napier Date: Fri, 14 Feb 2025 02:42:26 +0000 Subject: [PATCH] Change workflow to checkout config as well. --- .github/workflows/action_scanning.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/action_scanning.yml b/.github/workflows/action_scanning.yml index 8952ac1..3783cf1 100644 --- a/.github/workflows/action_scanning.yml +++ b/.github/workflows/action_scanning.yml @@ -25,8 +25,12 @@ jobs: steps: - name: Checkout Workflow Config uses: actions/checkout@v4 + env: + GH_ACTION_REPOSITORY: ${{ github.action_repository }} + GH_ACTION_REF: ${{ github.action_ref }} with: - repository: ${github.action_repository} + repository: '${{ env.GH_ACTION_REPOSITORY }}' + ref: '${{ env.GH_ACTION_REF }}' path: action_scanning - name: Checkout Code