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

Drop permissions for jenkins-security-scan template #75

Merged
merged 1 commit into from
Mar 16, 2022

Conversation

daniel-beck
Copy link
Member

@daniel-beck daniel-beck commented Mar 16, 2022

This declares the permissions needed for the called workflow, so this can also run even if the default GITHUB_TOKEN permissions for the repository are read-only:

Screenshot

While the workflow does not need the read permissions for public repositories, it is not possible to call the reusable workflow (that is written to support private repos) without these.

Origin branch, please delete on merge.

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