Skip to content

Commit

Permalink
reduce default workflow permissions (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
phyrog authored Apr 2, 2024
1 parent a7642a9 commit 5f13c4d
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/container-image.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Build container image

permissions:
contents: read

on:
workflow_call:
inputs:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/helm-chart-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
# of the `charts` directory.
name: Release helm chart

permissions:
contents: read

on:
push:
branches:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/installer-build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Build installer image, sign it, and generate SBOMs

permissions:
contents: read

on:
workflow_call:
outputs:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/manager-build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Build manager image, sign it, and generate SBOMs

permissions:
contents: read

on:
workflow_call:
outputs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sbom.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Generate SBOMs

permissions: {}

on:
workflow_call:
inputs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sign-image.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Sign image

permissions: {}

on:
workflow_call:
inputs:
Expand Down

0 comments on commit 5f13c4d

Please sign in to comment.