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 cb50e66 commit 6a9ad02
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,17 @@ on:

jobs:
build-feature:
name: Build
name: Build
uses: navikt/fp-gha-workflows/.github/workflows/build-feature.yml@main
with:
sonar-scan: true # default: false
secrets: inherit

release-drafter:
name: Update
permissions:
contents: write
pull-requests: read
if: github.ref_name == 'master'
needs: build-feature
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 6a9ad02

Please sign in to comment.