Skip to content

CI: Limit workflow token permissions and checkout credentials - #2057

Draft
Dmitriy Vasyura (dmitrivMS) wants to merge 1 commit into
mainfrom
ci/limit-workflow-credentials
Draft

Dmitriy Vasyura (dmitrivMS) wants to merge 1 commit into
mainfrom
ci/limit-workflow-credentials

Conversation

@dmitrivMS

Copy link
Copy Markdown

The pull request, push, and code-health jobs read source and produce artifacts; they do not push commits. Give these workflows contents: read and disable checkout credential persistence so later builds, tests, and tools do not inherit Git authentication. The Python version check still receives its issue-writing token directly when it needs to report a problem.

The PR label checker lists labels without posting comments. Give it pull-requests: read instead of write access to issues and pull requests. Release, publishing, and localization retain their existing permissions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dmitrivMS Dmitriy Vasyura (dmitrivMS) added the debt Code quality issues label Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

debt Code quality issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant