Skip to content

ci: harden update-major-version workflow inputs - #297

Merged
peter-evans merged 1 commit into
mainfrom
ci/secure-update-major-version
Nov 24, 2026
Merged

peter-evans merged 1 commit into
mainfrom
ci/secure-update-major-version

Conversation

@peter-evans

Copy link
Copy Markdown
Owner

Hardens the update-major-version workflow against command and argument injection via the target input.

  • Pass workflow inputs to run steps via env instead of ${{ }} interpolation
  • Resolve target to a commit SHA with git rev-parse --verify --end-of-options before tagging
  • Pin actions/checkout to a commit SHA

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@peter-evans
peter-evans merged commit 794f8ca into main Nov 24, 2026
5 checks passed
@peter-evans
peter-evans deleted the ci/secure-update-major-version branch November 24, 2026 09:06
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