Skip to content

Commit

Permalink
TFP-5516: Strammer inn gha token scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
espenwaaga authored Jul 12, 2023
1 parent 915431f commit 8d06025
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ on:
jobs:
build-app:
name: Build
permissions:
contents: read
packages: write
uses: navikt/fp-gha-workflows/.github/workflows/build-app-no-db.yml@main
with:
build-image: ${{ github.ref_name == 'master' }} # default: true
Expand All @@ -29,6 +32,9 @@ jobs:

release-drafter:
name: Update
permissions:
contents: write
pull-requests: read
if: github.ref_name == 'master'
needs: build-app
uses: navikt/fp-gha-workflows/.github/workflows/release-drafter.yml@main
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
jobs:
release:
name: Feature
permissions:
packages: write
uses: navikt/fp-gha-workflows/.github/workflows/release-feature.yml@main
with:
release-version: ${{ github.event.release.tag_name }}
Expand Down

0 comments on commit 8d06025

Please sign in to comment.