Skip to content

Commit

Permalink
Fix actions' permissions
Browse files Browse the repository at this point in the history
It is important for dependabot
  • Loading branch information
damyan committed Feb 28, 2024
1 parent bf2501e commit f57c66f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ on:
- 'docs/**'
- '**/*.md'

permissions:
contents: read
packages: write

jobs:
buildAndPush:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- master
pull_request:

permissions:
contents: write
pull-requests: write

jobs:
update_release_draft:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/size-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: Size Label
on:
pull_request:

permissions:
contents: read
pull-requests: write

jobs:
size-label:
runs-on: ubuntu-latest
Expand Down

0 comments on commit f57c66f

Please sign in to comment.