Merge pull request #1824 from Informasjonsforvaltning/develop #337
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code scanning (CodeQL) | |
on: | |
pull_request: | |
types: [ready_for_review, opened, reopened, synchronize] | |
branches: | |
- develop | |
push: | |
branches: | |
- main | |
- develop | |
schedule: | |
- cron: '0 2 * * *' | |
jobs: | |
codeql: | |
name: Run codeql scan | |
if: github.event.pull_request.draft == false | |
uses: Informasjonsforvaltning/workflows/.github/workflows/codeql.yaml@main | |
with: | |
language: javascript | |
secrets: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |