Skip to content

Code scanning (CodeQL) #496

Code scanning (CodeQL)

Code scanning (CodeQL) #496

Workflow file for this run

name: Code scanning (CodeQL)
permissions:
contents: read
security-events: write
on:
pull_request:
types: [ready_for_review, opened, reopened, synchronize]
branches:
- main
push:
branches:
- main
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: java
java_version: '21'
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}