Skip to content

Add minimal permissions to workflows - #177

Merged
thockin merged 2 commits into
go-logr:masterfrom
pnacht:token_permissions
Apr 10, 2023
Merged

thockin merged 2 commits into
go-logr:masterfrom
pnacht:token_permissions

Conversation

@pnacht

@pnacht pnacht commented Apr 10, 2023

Copy link
Copy Markdown
Contributor

Fixes #176.

As described in the linked issue, this PR sets all workflows with minimal permissions. This reduces the threat from supply-chain attacks.

pnacht added 2 commits April 10, 2023 21:16
Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>
Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>
@thockin
thockin merged commit 4058b9a into go-logr:master Apr 10, 2023
@pnacht pnacht mentioned this pull request Apr 14, 2023
Comment thread .github/workflows/lint.yaml
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.

Add minimal permissions to GitHub workflows

3 participants