Skip to content

Pin configure-aws-credentials to a SHA and bump to v6.2.3 - #542

Merged
tashian merged 1 commit into
mainfrom
carl/pin-aws-credentials-action
Jul 27, 2026
Merged

Pin configure-aws-credentials to a SHA and bump to v6.2.3#542
tashian merged 1 commit into
mainfrom
carl/pin-aws-credentials-action

Conversation

@tashian

@tashian tashian commented Jul 27, 2026

Copy link
Copy Markdown
Member

Follow-up to #541. Clears the last Node 20 deprecation warning on Upload Assets and pins the action by commit SHA.

-        uses: aws-actions/configure-aws-credentials@v4
+        uses: aws-actions/configure-aws-credentials@e6de054238d6b7531b4efff3b6587d9aade6a06c # v6.2.3

Why SHA-pinned

Tags are mutable. This is the step that mints AWS credentials, so a moved tag would silently change what can assume the upload role — an unreviewed change to the trust path. The SHA is verified as the v6.2.3 release commit (chore(main): release 6.2.3, committed 33s before the release was published).

Why the bump is safe

Two majors, one relevant breaking change each, neither of which applies:

  • v5.0.0 — changed invalid boolean input handling. This step passes only role-to-assume and aws-region; no booleans.
  • v6.0.0 — requires a Node 24 runner. ubuntu-latest already forces Node 24, which is precisely what the deprecation warning says.

Verification

dry_run cannot test this — it skips the credentials step entirely. After merge this needs one workflow_dispatch with full_sync=true to exercise OIDC for real. Idempotent: re-uploads and re-purges the same 128 graphics, and repeat purges inside imgix's 10s window return 409, which the workflow already treats as success.

actions/checkout@v5 is left on a tag. Happy to pin it too if we want that as a repo-wide convention rather than a rule for credential-minting steps only.

🤖 Generated with Claude Code

v4 is the last Node 20 deprecation warning on this workflow. v6's only
breaking change is requiring a Node 24 runner, which ubuntu-latest already
forces — that is what the warning was about. v5's only breaking change was
invalid boolean input handling, and this step passes no boolean inputs.

Pinned by commit SHA rather than tag. Tags are mutable, and this is the step
that mints AWS credentials, so a moved tag would be an unreviewed change to
what can assume the upload role.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@tashian
tashian requested a review from a team as a code owner July 27, 2026 20:01
@tashian
tashian merged commit 2b8d1f6 into main Jul 27, 2026
4 checks passed
@tashian
tashian deleted the carl/pin-aws-credentials-action branch July 27, 2026 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants