From 90f23acccdee47957a055d2bb9dc9cf17a811455 Mon Sep 17 00:00:00 2001 From: Harrison Weinstock Date: Fri, 20 Mar 2026 16:02:09 +0000 Subject: [PATCH 1/2] debug: print pull_request_target author_association --- .github/workflows/debug-pr-tarball.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/debug-pr-tarball.yml diff --git a/.github/workflows/debug-pr-tarball.yml b/.github/workflows/debug-pr-tarball.yml new file mode 100644 index 00000000..e5902d2f --- /dev/null +++ b/.github/workflows/debug-pr-tarball.yml @@ -0,0 +1,15 @@ +name: Debug PR Tarball Condition +on: + pull_request_target: + branches: [main] + +jobs: + debug: + runs-on: ubuntu-latest + steps: + - name: Print author_association + run: | + echo "author_association: ${{ github.event.pull_request.author_association }}" + echo "author: ${{ github.event.pull_request.user.login }}" + echo "event_name: ${{ github.event_name }}" + echo "action: ${{ github.event.action }}" From 6a0ed443e307c3704bdc7284615abdf2ccb5d0fa Mon Sep 17 00:00:00 2001 From: Harrison Weinstock Date: Fri, 20 Mar 2026 16:03:27 +0000 Subject: [PATCH 2/2] debug: also trigger on pull_request --- .github/workflows/debug-pr-tarball.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/debug-pr-tarball.yml b/.github/workflows/debug-pr-tarball.yml index e5902d2f..42ec1a3d 100644 --- a/.github/workflows/debug-pr-tarball.yml +++ b/.github/workflows/debug-pr-tarball.yml @@ -1,5 +1,7 @@ name: Debug PR Tarball Condition on: + pull_request: + branches: [main] pull_request_target: branches: [main]