diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..dc4ce31 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,31 @@ +# Managed by otterdog blueprint codeql-analysis. Do not edit here. +name: CodeQL +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + schedule: + - cron: '17 4 * * 3' +permissions: + contents: read +jobs: + analyze: + runs-on: ubuntu-latest + permissions: + contents: read + security-events: write + steps: + - name: Checkout + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + - name: Initialize CodeQL + uses: github/codeql-action/init@1c5b675653bb5c22dbe9b12b556ec555138e09fd # v4.38.1 + with: + languages: java + build-mode: none + - name: Analyze + uses: github/codeql-action/analyze@1c5b675653bb5c22dbe9b12b556ec555138e09fd # v4.38.1 + with: + category: "/language:java"