Skip to content

Pin GitHub Actions to commit SHAs (main) - #27

Merged
phatshambler merged 1 commit into
mainfrom
ci/174-durcissement
Nov 11, 2026
Merged

phatshambler merged 1 commit into
mainfrom
ci/174-durcissement

Conversation

@phatshambler

Copy link
Copy Markdown
Member

Hardening of GitHub Actions after the compromise of a member account (folkloreinc/folklore-dev#174, task B5).

  • Every action is pinned to a full commit SHA, with its version in a comment (actions/checkout@<sha> # v7.0.1). A moved tag can no longer change what runs here. The versions are the latest of the major already in use: nothing is upgraded.
  • The release workflow, when there is one, grants contents: write to its job only (permissions: {} at the top), and its checkout no longer keeps the token in .git/config (persist-credentials: false).
  • The other workflows already had permissions: contents: read and no secret: no change besides the pins.

No change to what the jobs do. Pins are updated by hand, without Renovate or Mend.

🤖 Generated with Claude Code

…eir job

Hardening after the compromise of a member account (folkloreinc/folklore-dev#174).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@phatshambler
phatshambler merged commit 610a577 into main Nov 11, 2026
10 checks passed
@phatshambler
phatshambler deleted the ci/174-durcissement branch November 11, 2026 20:21
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