Skip to content

ci: scope prepare release workflow permissions#97

Open
kitsuyui wants to merge 1 commit into
mainfrom
fix/prepare-release-job-permissions-20260612
Open

ci: scope prepare release workflow permissions#97
kitsuyui wants to merge 1 commit into
mainfrom
fix/prepare-release-job-permissions-20260612

Conversation

@kitsuyui

Copy link
Copy Markdown
Member

Summary

  • Remove workflow-level write permissions from the release update preparation workflow.
  • Give the read-only resolve and validate jobs contents: read only.
  • Keep contents: write and pull-requests: write scoped to the job that opens the update pull request.

Verification

  • git diff --check
  • actionlint
  • shfmt -d scripts/*.sh
  • shellcheck scripts/*.sh
  • typos
  • workflow permissions YAML assertion
  • collateral check: clean

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