Skip to content

Commit

Permalink
Set write permissions on the publish workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
  • Loading branch information
LucasRoesler authored and alexellis committed Sep 8, 2021
1 parent 7448775 commit 38a72f6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
actions: read
checks: write
issues: read
packages: write
pull-requests: read
repository-projects: read
statuses: read
steps:
- uses: actions/checkout@master
- name: Set up QEMU
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
permissions:
actions: read
checks: write
issues: read
packages: write
pull-requests: read
repository-projects: read
statuses: read
steps:
- uses: actions/checkout@master
- name: Set up QEMU
Expand Down

0 comments on commit 38a72f6

Please sign in to comment.