Skip to content

Commit

Permalink
GA: Legger til codeql scan av repo + rydding
Browse files Browse the repository at this point in the history
  • Loading branch information
espenwaaga committed Apr 24, 2023
1 parent 74c78ce commit 94ffcea
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version: 2
registries:
fp-felles: # Gir tilgang til registre innad i nav med fp-felles som inngang (PATen bestemmer)
maven-github:
type: maven-repository
url: https://maven.pkg.github.com/navikt/fp-felles
username: x-access-token
password: ${{ secrets.PAT }}
password: ${{ secrets.READER_TOKEN }}

updates:
- package-ecosystem: github-actions
Expand All @@ -15,7 +15,7 @@ updates:
- package-ecosystem: maven
directory: "/"
registries:
- fp-felles
- maven-github
schedule:
interval: daily
open-pull-requests-limit: 20
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ on:
- 'CODEOWNERS'
- 'docs/**'
- '.github/*.yml'
schedule:
- cron: '0 4 * * 1'

jobs:
build-feature:
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "CodeQL"

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
schedule:
- cron: '0 0 * * 0,4'

jobs:
codeql:
name: CodeQl
permissions:
actions: read
contents: read
security-events: write
uses: navikt/fp-gha-workflows/.github/workflows/codeql.yml@main
secrets: inherit

0 comments on commit 94ffcea

Please sign in to comment.