Skip to content

ci: enhance backport workflow security#778

Open
liam-icheng-lai wants to merge 1 commit intomainfrom
ci-enhance-backport-workflow-security
Open

ci: enhance backport workflow security#778
liam-icheng-lai wants to merge 1 commit intomainfrom
ci-enhance-backport-workflow-security

Conversation

@liam-icheng-lai
Copy link
Contributor

@liam-icheng-lai liam-icheng-lai commented Mar 12, 2026

Pinned action to commit SHA — tibdex/backport@9565281 # v2. A compromised or force-pushed v2 tag can no longer substitute malicious code; the runner will only execute the exact commit that was audited.

Restricted permissions — added an explicit block with only contents: write (to push the backport branch) and pull-requests: write (to open the PR and post comments). All other permissions (actions, id-token, packages, etc.) default to none, limiting blast radius if the action is ever abused.

@liam-icheng-lai liam-icheng-lai requested a review from a team as a code owner March 12, 2026 05:28
@github-actions
Copy link

🔐 Commit Signature Verification

All 1 commit(s) passed verification

Commit Author Signature Key Type Key Check
be9942e5b363 liam.lai sk-ssh-ed25519

Summary

  • Commits verified: 1
  • Signature check: ✅ All passed
  • Key type enforcement: ✅ All sk-ssh-ed25519

Required key type: sk-ssh-ed25519 (FIDO2 hardware key)

Last verified: 2026-03-12 05:29 UTC

Copy link
Contributor

@mpastecki mpastecki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed: SHA 9565281eda0731b1d20c4025c43339fb0a23812e verified against current tibdex/backport v2 tag. Permissions correctly scoped to minimum required (contents: write, pull-requests: write). LGTM.

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