Skip to content

security: pin the review action revision - #4

Merged
khoi merged 1 commit into
mainfrom
security/pin-review-action
Aug 7, 2026
Merged

security: pin the review action revision#4
khoi merged 1 commit into
mainfrom
security/pin-review-action

Conversation

@khoi

@khoi khoi commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

The reusable review workflow runs with repository write permissions and the balancer API secret. Pin its nested SupaReview action to the reviewed parent revision so the privileged path does not follow mutable main.

Validation: git diff --check.

Keep the privileged reusable workflow tied to a reviewed action revision instead of following main.
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

SupaReview

LGTM

The change replaces the mutable main reference with the full 40-character SHA of the reviewed parent commit. That commit contains the referenced action, and the pin preserves the existing permissions, secret wiring, checkout behavior, inputs, and runtime configuration while preventing the privileged reusable workflow from following mutable main.

Review type: Full review

Reviewers: thermo-nuclear-review-subagent, thermo-nuclear-code-quality-review-subagent

@khoi
khoi merged commit f1ed7e0 into main Aug 7, 2026
1 check passed
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