chore(ci): add explicit GITHUB_TOKEN permissions to workflows#13525
Merged
Conversation
Prepare for the upcoming read-only default GITHUB_TOKEN enforcement by declaring minimum required permissions in all workflows. - contents: read for CI, lint, and workflows using PATs for writes - contents: write for deploy (pushes to gh-pages via GITHUB_TOKEN) - issues: write for issue management workflows
This workflow is superseded by the v1 job in release.yaml which handles the same flow (conventional-graduate + publish with dist-tag).
nnaydenow
approved these changes
May 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
permissionsblocks to all workflows that will be affected by the upcoming read-only defaultGITHUB_TOKENenforcement (May 27, 2026).release-downport.yamlworkflow, which is superseded by thev1job inrelease.yaml.Permissions applied
ci-test.yamlcontents: readci-test-website.yamlcontents: readlint.yamlcontents: readdeploy-preview.yamlcontents: readUI5_WEBCOMP_BOT_GH_TOKEN)deploy.yamlcontents: writeGITHUB_TOKENissue-close.yamlissues: writeactions/stalelabels/closes issuesissue-comment.yamlissues: writeissue-reopen.yamlissues: writereset-gh-pages.yamlcontents: readreset-preview-deploy.yamlcontents: readRemoved
release-downport.yaml— superseded by thev1job inrelease.yaml(same flow: conventional-graduate + publish with dist-tag)Test plan