Skip to content

chore(gh): update workflow permissions #582

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tenthirtyam
Copy link
Collaborator

@tenthirtyam tenthirtyam commented Apr 9, 2025

Description

Explicitly defines the permissions granted to the GITHUB_TOKEN used within the workflows.

By default, the GITHUB_TOKEN has broad write access. Limiting these permissions to only what the workflow actually needs.

Reference

https://github.com/vmware/terraform-provider-vra/security/code-scanning/2

Explicitly defines the permissions granted to the `GITHUB_TOKEN` used within the workflows.

By default, the `GITHUB_TOKEN` has broad write access. Limiting these permissions to only what the workflow actually needs.

Signed-off-by: Ryan Johnson <[email protected]>
@tenthirtyam tenthirtyam added chore Chore github-actions GitHub Actions labels Apr 9, 2025
@tenthirtyam tenthirtyam added this to the .next milestone Apr 9, 2025
@tenthirtyam tenthirtyam requested a review from frodenas April 9, 2025 14:44
@tenthirtyam tenthirtyam self-assigned this Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Chore github-actions GitHub Actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant