fix(ci): pin action SHAs with correct version comments

zizmor flagged the checkout SHA comment as `# v6` when it's actually
pinned to v6.0.2. Also pin create-github-app-token to its commit SHA
instead of the rolling `@v3` tag.
This commit is contained in:
Will Pfleger
2026-06-03 15:43:48 -04:00
parent 3c2edfeb8a
commit 6c430a9f78

View File

@@ -64,14 +64,14 @@ jobs:
- name: Generate GitHub App token
if: steps.find-pr.outputs.found == 'true'
id: app-token
uses: actions/create-github-app-token@v3
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with:
client-id: ${{ vars.RELEASE_APP_CLIENT_ID }}
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
- name: Check out release PR branch
if: steps.find-pr.outputs.found == 'true'
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ steps.find-pr.outputs.branch }}
fetch-depth: 0