Skip to content

Declare explicit token permissions on documentation, ruff, and tests workflows - #2180

Merged
stevepiercy merged 2 commits into
mainfrom
fix/workflow-permissions
Nov 23, 2026
Merged

stevepiercy merged 2 commits into
mainfrom
fix/workflow-permissions

Conversation

@SashankBhamidi

@SashankBhamidi SashankBhamidi commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Since the move to PyCalendar, the default GITHUB_TOKEN is read-only. The documentation, ruff, and tests workflows had no permissions block, relying on that org default.

Adds permissions: contents: read at the workflow level for all three. Job-level permissions are untouched.

Also adds the news fragment for 778ca8c, which added contents: write to deploy-github-release and was pushed directly to main during the v8.0.0a1 release.

@github-actions

Copy link
Copy Markdown
Contributor

Thanks for the pull request, @SashankBhamidi! A maintainer will review it shortly.

@dashboard-pycal-org dashboard-pycal-org Bot added the Needs technical review This PR requires technical reviews now. label Nov 21, 2026

@niccokunzmann niccokunzmann left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@niccokunzmann niccokunzmann added Needs documentation review This pull request is ready for a documentation review and removed Needs technical review This PR requires technical reviews now. labels Nov 23, 2026
@stevepiercy
stevepiercy enabled auto-merge (squash) November 23, 2026 11:23
@stevepiercy
stevepiercy merged commit 76fc29e into main Nov 23, 2026
27 checks passed
@stevepiercy
stevepiercy deleted the fix/workflow-permissions branch November 23, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs documentation review This pull request is ready for a documentation review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants