Skip to content

Commit

Permalink
Fix workflow permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
marcofranssen committed Mar 22, 2022
1 parent 35eb5c2 commit 7f7dea1
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ on:
types: [ opened, reopened ]
workflow_dispatch:

permissions:
contents: write
packages: write

jobs:
build:
name: Build
runs-on: ubuntu-20.04

permissions:
contents: read

steps:
- name: Set up Go
uses: actions/setup-go@v3
Expand Down Expand Up @@ -71,6 +71,10 @@ jobs:

runs-on: ubuntu-20.04

permissions:
contents: read
packages: write

steps:
- name: Set up Go
uses: actions/setup-go@v3
Expand Down

0 comments on commit 7f7dea1

Please sign in to comment.