Skip to content
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

make GitHub workflow permissions explicit #1692

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

Conversation

cedricvanrompay-datadog
Copy link

Summary

make GitHub workflow permissions explicit

Changes

Add a top-level permissions field in each GitHub workflow file.

Note that this should not lead to any changes in the permissions workflows currently have because the permissions written mirror the default permissions or are overwritten by job-level permissions

Motivation

It makes workflow permissions easier to read and understand, and it makes some scanner happy like OSSF Scorecard: https://deps.dev/project/github/stretchr%2Ftestify

Related issues

None.

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