Skip to content

ci: restrict helm-test workflow permissions to read-only#227

Closed
arpitjain099 wants to merge 1 commit into
ClickHouse:mainfrom
arpitjain099:chore/workflow-permissions
Closed

ci: restrict helm-test workflow permissions to read-only#227
arpitjain099 wants to merge 1 commit into
ClickHouse:mainfrom
arpitjain099:chore/workflow-permissions

Conversation

@arpitjain099
Copy link
Copy Markdown

Adds an explicit least-privilege permissions: block to .github/workflows/helm-test.yaml. The job only reads the repository, so contents: read is sufficient; today the workflow inherits whatever the repository default grants, which is broader than it needs. This is one of the checks OpenSSF Scorecard flags under Token-Permissions.

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>
@arpitjain099 arpitjain099 requested a review from a team as a code owner June 2, 2026 01:01
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jun 2, 2026

⚠️ No Changeset found

Latest commit: a84c2a7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@arpitjain099
Copy link
Copy Markdown
Author

Consolidating to avoid a duplicate: #221 already declares the same read-only permissions on these workflow(s) (and others), so I'm closing this one in its favor. Apologies for the overlap.

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