From 615ab19568267648f66de7dd893aa6178a0513b5 Mon Sep 17 00:00:00 2001 From: ljstella Date: Wed, 16 Oct 2024 12:30:00 -0500 Subject: [PATCH 1/2] Small tweak about what ref to checkout --- .github/workflows/appinspect.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/appinspect.yml b/.github/workflows/appinspect.yml index a3287e8c40..2dfa736178 100644 --- a/.github/workflows/appinspect.yml +++ b/.github/workflows/appinspect.yml @@ -8,6 +8,9 @@ jobs: steps: - name: Check out the repository code uses: actions/checkout@v4 + with: + repository: 'splunk/security_content' # hardcode this for now + ref: ${{ github.base_ref }} - uses: actions/setup-python@v5 with: From abb4f331b657179465f05d1939f0f28cf71cffe0 Mon Sep 17 00:00:00 2001 From: ljstella Date: Wed, 16 Oct 2024 12:57:47 -0500 Subject: [PATCH 2/2] Let's try again --- .github/workflows/appinspect.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/appinspect.yml b/.github/workflows/appinspect.yml index 2dfa736178..327db26c82 100644 --- a/.github/workflows/appinspect.yml +++ b/.github/workflows/appinspect.yml @@ -9,8 +9,7 @@ jobs: - name: Check out the repository code uses: actions/checkout@v4 with: - repository: 'splunk/security_content' # hardcode this for now - ref: ${{ github.base_ref }} + ref: refs/pull/${{ github.event.pull_request.number }}/merge - uses: actions/setup-python@v5 with: