Skip to content

Commit

Permalink
Add workflow permissions (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex5517 authored Mar 14, 2024
1 parent 7fccaed commit 668b86a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:

jobs:
publish_helm_chart:
permissions:
contents: read
packages: write
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:

jobs:
push_docker_image:
permissions:
contents: read
packages: write
runs-on: ubuntu-latest
steps:
- name: Check out the repo
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/updates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: updates
on:
schedule:
- cron: '42 0 * * *' # every day at 00:42
permissions:
contents: read
pull-requests: write

jobs:
kube-state-metrics:
Expand Down

0 comments on commit 668b86a

Please sign in to comment.