Skip to content

Commit 6f06bd5

Browse files
Merge pull request #63 from gleanwork/rwjblue/fixup-auto-trigger-action
fix(ci): Thread through `GH_TOKEN` for `auto-trigger-code-samples.yml`
2 parents 64e4206 + 86fac26 commit 6f06bd5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/auto-trigger-code-samples.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,16 @@ jobs:
4141
else
4242
echo "ready=false" >> $GITHUB_OUTPUT
4343
fi
44+
env:
45+
GH_TOKEN: ${{ github.token }}
4446

4547
- name: Trigger generate-code-samples workflow
4648
if: steps.check.outputs.ready == 'true'
4749
run: |
4850
gh workflow run generate-code-samples.yml
4951
echo "✅ Successfully triggered generate-code-samples.yml workflow"
5052
env:
51-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53+
GH_TOKEN: ${{ github.token }}
5254

5355
- name: Log status when not ready
5456
if: steps.check.outputs.ready != 'true'

0 commit comments

Comments
 (0)