Skip to content

Commit

Permalink
Add gha permissions and remove snyk workflow (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
andersrognstad authored Sep 11, 2023
1 parent f9eec8f commit 9f02c48
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:

jobs:
monitor:
permissions:
actions: read
contents: read
security-events: write
uses: navikt/isworkflows/.github/workflows/codeql.yml@master
with:
languages: "[ 'java' ]"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/dependency-submission.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ on:

jobs:
dependency_submission:
permissions:
contents: write
uses: navikt/isworkflows/.github/workflows/gradle-dependency-submission.yml@master
secrets: inherit
3 changes: 3 additions & 0 deletions .github/workflows/dispatch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:
jobs:
deploy-dev:
name: Deploy to NAIS Dev-gcp
permissions:
contents: read
id-token: write
uses: navikt/isworkflows/.github/workflows/manual-deploy-dev.yml@master
with:
git-commit: ${{ github.event.inputs.gitCommit }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ on: push

jobs:
build-and-deploy:
permissions:
contents: read
id-token: write
uses: navikt/isworkflows/.github/workflows/kotlin-build-deploy.yml@master
secrets: inherit
12 changes: 0 additions & 12 deletions .github/workflows/snyk.yaml

This file was deleted.

0 comments on commit 9f02c48

Please sign in to comment.