Skip to content

Commit

Permalink
explicitly define permissions for workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Franssen <marco.franssen@philips.com>
  • Loading branch information
marcofranssen committed Feb 15, 2022
1 parent 623068b commit 83b3a20
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
types: [ opened, reopened ]
workflow_dispatch:

permissions:
contents: read
packages: write

jobs:
build:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 83b3a20

Please sign in to comment.