Skip to content

Set an explicit read-only token on three workflows - #157

Merged
abrignoni merged 1 commit into
mainfrom
chore/workflow-token-permissions
Aug 27, 2026
Merged

Set an explicit read-only token on three workflows#157
abrignoni merged 1 commit into
mainfrom
chore/workflow-token-permissions

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Adds permissions: contents: read to the three workflows that had no permissions block, so they stop inheriting the repository default of write.

  • python_lint.yml
  • python_runtime_contract.yml
  • windows_smoke.yml

None of the three writes anything. They check out, install requirements and run scripts. The other five workflows already declare what they need, and update_module_info.yml keeps its contents: write because it pushes.

python_lint.yml, python_runtime_contract.yml and windows_smoke.yml had no
permissions block, so they ran with the repository default, which is write.
None of the three writes anything: they check out, install requirements and
run scripts. The other five workflows already declare what they need.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@abrignoni
abrignoni merged commit 4eb18fa into main Aug 27, 2026
6 checks passed
@abrignoni
abrignoni deleted the chore/workflow-token-permissions branch August 27, 2026 07:07
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