Skip to content

Commit 4e551e4

Browse files
fix: pin create-github-app-token to immutable SHA
Pin actions/create-github-app-token to v3.2.0 commit SHA (bcd2ba49...) instead of mutable @V3 tag to prevent supply chain attacks where a compromised account could force-push malicious code to the tag. This eliminates the risk of secret leakage and malicious code execution in CI workflows.
1 parent 60add6d commit 4e551e4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎.github/workflows/auto-merge-speakeasy-pr.yaml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ jobs:
3333
steps:
3434
- name: Generate GitHub App token
3535
id: app-token
36-
uses: actions/create-github-app-token@v3
36+
# actions/create-github-app-token@v3.2.0 (immutable SHA)
37+
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1
3738
with:
3839
app-id: ${{ secrets.GH_DOCS_SYNC_APP_ID }}
3940
private-key: ${{ secrets.GH_DOCS_SYNC_APP_PRIVATE_KEY }}

0 commit comments

Comments
 (0)