Skip to content

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

Open
SashankBhamidi wants to merge 1 commit into
mainfrom
fix/workflow-permissions
Open

SashankBhamidi wants to merge 1 commit into
mainfrom
fix/workflow-permissions

Conversation

@SashankBhamidi

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.

This branch has not been deployed

No deployments
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