Skip to content

chore(ci): set permissions on test-features workflow#129

Merged
rafaelfranca merged 1 commit into
rails:mainfrom
arpitjain099:chore/workflow-permissions
Jun 2, 2026
Merged

chore(ci): set permissions on test-features workflow#129
rafaelfranca merged 1 commit into
rails:mainfrom
arpitjain099:chore/workflow-permissions

Conversation

@arpitjain099

Copy link
Copy Markdown
Contributor

Small hardening change: set permissions: contents: read at the top of .github/workflows/test-features.yaml so the workflow token is read-only instead of inheriting the repository default. The job only does checkout and build/test, so nothing else is required.

Set an explicit least-privilege permissions block so the workflow GITHUB_TOKEN is scoped to contents: read instead of inheriting the repository default.

Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
@rafaelfranca rafaelfranca merged commit 00d6cad into rails:main Jun 2, 2026
36 checks passed
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.

2 participants