From 4ac343a64ed0e02289ac764188b551a3080797ee Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Wed, 5 Nov 2025 20:41:35 -0500 Subject: [PATCH] ci: test workflow at PR head Signed-off-by: Jason Hall --- .github/workflows/use-action.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/use-action.yaml b/.github/workflows/use-action.yaml index 14f5bfa..714c529 100644 --- a/.github/workflows/use-action.yaml +++ b/.github/workflows/use-action.yaml @@ -17,6 +17,9 @@ jobs: steps: - uses: actions/checkout@v4 + with: + # For pull_request_target, checkout the PR head to test the PR's code + ref: ${{ github.event.pull_request.head.sha || github.sha }} - uses: ./ with: