Skip to content

chore: harden GitHub Actions workflows per audit - #32

Merged
akeemjenkins merged 1 commit into
mainfrom
chore/gha-hardening
Sep 2, 2026
Merged

chore: harden GitHub Actions workflows per audit#32
akeemjenkins merged 1 commit into
mainfrom
chore/gha-hardening

Conversation

@akeemjenkins

Copy link
Copy Markdown
Contributor
  • Pin every action to a full commit SHA with a version comment
    (GHA029); dependabot keeps updating SHA pins via the comments.
  • persist-credentials: false on all checkouts (GHA049).
  • Release workflow: drop workflow-wide write permissions to
    permissions: {} and grant contents/id-token write on the goreleaser
    job only; packages: write was unused and is removed (GHA034).
  • timeout-minutes on every job (GHA022).
  • Release job now runs in the protected "release" environment, whose
    deployment policy only allows v*.. tags; the tap-push credentials
    (TAP_APP_CLIENT_ID / TAP_APP_PRIVATE_KEY) moved from repo scope into
    that environment (GHA026).

Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01KuW9gYCf2iURYquY2S6bMq

- Pin every action to a full commit SHA with a version comment
  (GHA029); dependabot keeps updating SHA pins via the comments.
- persist-credentials: false on all checkouts (GHA049).
- Release workflow: drop workflow-wide write permissions to
  permissions: {} and grant contents/id-token write on the goreleaser
  job only; packages: write was unused and is removed (GHA034).
- timeout-minutes on every job (GHA022).
- Release job now runs in the protected "release" environment, whose
  deployment policy only allows v*.*.* tags; the tap-push credentials
  (TAP_APP_CLIENT_ID / TAP_APP_PRIVATE_KEY) moved from repo scope into
  that environment (GHA026).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KuW9gYCf2iURYquY2S6bMq
@akeemjenkins
akeemjenkins merged commit 424b87f into main Sep 2, 2026
6 checks passed
@akeemjenkins
akeemjenkins deleted the chore/gha-hardening branch September 2, 2026 04:58
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