From 86fac266b1d956c5c211a4910844c17e8691d894 Mon Sep 17 00:00:00 2001 From: Robert Jackson Date: Fri, 14 Nov 2025 17:16:03 -0500 Subject: [PATCH] fix(ci): Thread through `GH_TOKEN` for `auto-trigger-code-samples.yml` --- .github/workflows/auto-trigger-code-samples.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto-trigger-code-samples.yml b/.github/workflows/auto-trigger-code-samples.yml index d072aa4..0fd12cf 100644 --- a/.github/workflows/auto-trigger-code-samples.yml +++ b/.github/workflows/auto-trigger-code-samples.yml @@ -41,6 +41,8 @@ jobs: else echo "ready=false" >> $GITHUB_OUTPUT fi + env: + GH_TOKEN: ${{ github.token }} - name: Trigger generate-code-samples workflow if: steps.check.outputs.ready == 'true' @@ -48,7 +50,7 @@ jobs: gh workflow run generate-code-samples.yml echo "✅ Successfully triggered generate-code-samples.yml workflow" env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ github.token }} - name: Log status when not ready if: steps.check.outputs.ready != 'true'