Skip to content

ci: restrict GITHUB_TOKEN to read-only on ubuntu-basic#38

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

ci: restrict GITHUB_TOKEN to read-only on ubuntu-basic#38
arpitjain099 wants to merge 1 commit into
ray-project:mainfrom
arpitjain099:chore/restrict-workflow-token-perms

Conversation

@arpitjain099
Copy link
Copy Markdown

Adds top-level permissions: contents: read to the ubuntu-basic test workflow.

The workflow checks out source, installs bazel and Python dependencies, builds and runs tests inside a Ubuntu 20.04 container. None of these need write access to the repository. Scoping the GITHUB_TOKEN to read-only follows least-privilege guidance.

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