Skip to content

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

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

Set an explicit read-only token on three workflows#101
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.

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

This repository's default workflow permission is already read, so the block states what these three were getting anyway and holds them there if the default ever changes. None of the three writes anything. 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. This repository's default is already read, so the block
states what they were getting and holds them there if the default changes.
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 3c9fec0 into main Aug 28, 2026
6 checks passed
@abrignoni
abrignoni deleted the chore/workflow-token-permissions branch August 28, 2026 01:40
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