Skip to content

Commit

Permalink
Merge pull request #165 from MrAnno/fix-actions-enterprise-perms
Browse files Browse the repository at this point in the history
ci: set write permissions explicitly for jobs
  • Loading branch information
alltilla authored Jun 18, 2024
2 parents 88923c0 + f0c40a0 commit 7fbc687
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/axosyslog-charts-release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: AxoSyslog charts release

permissions: write-all

on:
push:
paths:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/axosyslog-docker.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: AxoSyslog Docker image builder

permissions: write-all

on:
workflow_call:
inputs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/axosyslog-image-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
path: dbld/build/*.tar.*

publish-image:
permissions: write-all
uses: ./.github/workflows/axosyslog-docker.yml
needs: tarball
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/axosyslog-nightly.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: AxoSyslog nightly

permissions: write-all

on:
workflow_dispatch:
schedule:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/axosyslog-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

name: AxoSyslog stable

permissions: write-all

on:
workflow_dispatch:
push:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/comment-on-version-bump-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

name: Comment on version bump PR

permissions: write-all

on:
push:
branches:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/dbld-images.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Compile dbld-images

permissions: write-all

on:
pull_request:
paths:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

name: Draft release

permissions: write-all

on:
workflow_dispatch:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/version-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@

name: Version bump

permissions: write-all

on:
workflow_dispatch:
inputs:
Expand Down

0 comments on commit 7fbc687

Please sign in to comment.