Skip to content

Commit

Permalink
Added permissions to GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
roelofr committed Nov 24, 2023
1 parent 7969c32 commit b129f8f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/verify-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ env:
DOCKER_REGISTRY: ghcr.io
DOCKER_IMAGE_NAME: ${{ github.repository }}

permissions:
contents: read
packages: read

jobs:
test-and-build:
name: Build application
Expand Down Expand Up @@ -65,6 +69,9 @@ jobs:
needs:
- test-and-build

permissions:
contents: write

steps:
- name: Download static application
uses: actions/download-artifact@v3
Expand All @@ -91,6 +98,10 @@ jobs:
needs:
- test-and-build

permissions:
contents: read
packages: write

steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit b129f8f

Please sign in to comment.