photoprism/.github/workflows/codeql-analysis.yml
Michael Mayer 92c9dd968c CI: Update codeql-analysis.yml
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-05-10 15:32:42 +02:00

31 lines
583 B
YAML

name: "CodeQL"
on:
push:
branches: [ develop, release, master ]
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'go', 'javascript' ]
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: CodeQL Analysis
uses: github/codeql-action/analyze@v2