Skip to content

ci: declare read-only token permissions on test workflow#141

Open
arpitjain099 wants to merge 1 commit into
numpy:mainfrom
arpitjain099:chore/restrict-workflow-token-perms
Open

ci: declare read-only token permissions on test workflow#141
arpitjain099 wants to merge 1 commit into
numpy:mainfrom
arpitjain099:chore/restrict-workflow-token-perms

Conversation

@arpitjain099
Copy link
Copy Markdown

Adds permissions: contents: read to the Test package workflow. The workflow checks out source, sets up a conda environment, lints, builds, and runs tests. None of these need write access to the repository. Restricting the token scope follows least-privilege guidance for GitHub Actions.

Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
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