Skip to content

Create codeql.yml

Create codeql.yml #2

Workflow file for this run

name: "CodeQL Advanced Analysis for Java/Kotlin"
on:
pull_request:
push:
branches: [ "main" ]
schedule:
- cron: '0 4 * * 2'
jobs:
build:
uses: statens-pensjonskasse/public-actions-library/.github/workflows/codeql-java-kotlin.yaml@309c106e509700ff0ff171b132b59c96eeb6b32f # v0.1.3
permissions:
security-events: write
packages: read
actions: read
contents: read
secrets: inherit
with:
java-version: '21'
runner-tag: 'ubuntu-latest'

Check failure on line 21 in .github/workflows/codeql.yml

View workflow run for this annotation

GitHub Actions / CodeQL Advanced Analysis for Java/Kotlin

Invalid workflow file

The workflow is not valid. .github/workflows/codeql.yml (Line: 21, Col: 19): Invalid input, runner-tag is not defined in the referenced workflow.