ci: authenticate the action pin check to avoid API rate limits

The check called the GitHub API anonymously and hit the rate limit for
the shared runner IP. The script uses GITHUB_TOKEN when it's set.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
awalsh128 2026-11-05 19:30:08 -08:00
parent 0f10e9bd5e
commit 6e5c3a22f1

View file

@ -119,6 +119,9 @@ jobs:
- name: Check Action Dependencies Pinned
shell: bash
env:
# Authenticated API requests avoid the shared runner IP rate limit.
GITHUB_TOKEN: ${{ github.token }}
run: npm run check:latest-action-pins
testing: