Skip to content

chore: pin GitHub Actions to SHAs and drop persisted tokens - #16

Merged
jacekradko merged 1 commit into
mainfrom
jacek/harden-gh-actions
May 23, 2026
Merged

jacekradko merged 1 commit into
mainfrom
jacek/harden-gh-actions

Conversation

@jacekradko

Copy link
Copy Markdown

Every third-party action under .github/workflows/** and action.yml is now pinned to an immutable commit SHA, with the original tag kept as a # v4 comment. 13 uses: references across 4 workflows and the composite action.

persist-credentials: false is set on every actions/checkout that doesn't need the persisted token. The one site that does, release.yml, is intentionally left alone: changesets/action needs the persisted GITHUB_TOKEN to push the Version PR back to the repo. An inline comment above that checkout documents why.

.github/dependabot.yml is new; it groups github-actions updates into a single weekly PR so the SHAs stay current without manual babysitting. This is the lightweight equivalent of the Renovate piece in clerk/javascript#8632, which this repo doesn't run.

@github-actions

Copy link
Copy Markdown
Contributor

API Changes Report

Generated by snapi on 2026-05-23T02:09:25.546Z

Summary

Metric Count
Packages analyzed 1
Packages with changes 0
🔴 Breaking changes 0
🟡 Non-breaking changes 0
🟢 Additions 0

No API Changes Detected

All packages have stable APIs with no detected changes.


Report generated by snapi

@pkg-pr-new

pkg-pr-new Bot commented May 23, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/clerk/snapi/@clerk/snapi@16

commit: e3a8f0b

@jacekradko
jacekradko merged commit 81df1a8 into main May 23, 2026
7 checks passed
@jacekradko
jacekradko deleted the jacek/harden-gh-actions branch May 23, 2026 02:10
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.

1 participant