mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2026-11-13 21:36:56 +00:00
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:
parent
0f10e9bd5e
commit
6e5c3a22f1
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue