/
githubmirror
/
photoprism
Обзор
Документация
Войти
/
githubmirror
/
photoprism
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
.github/workflows/codeql-analysis.yml
57 строк
1 KB
Cathie Integra
CI: Upgrade CodeQL workflow to codeql-action v4
28 июл 2026, 20:44
28 июл 2026, 20:44
05facbf
Код
Авторство
О чём код?
name: "CodeQL" on: push: branches: [ develop, release ] pull_request: branches: [ develop ] schedule: # Re-scan weekly so queries added upstream are applied to unchanged code. - cron: '27 4 * * 1' permissions: contents: read concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: analyze: name: Analyze (${{ matrix.language }}) runs-on: ubuntu-latest timeout-minutes: 60 permissions: actions: read contents: read security-events: write strategy: fail-fast: false matrix: include: - language: go build-mode: autobuild - language: javascript-typescript build-mode: none steps: - name: Checkout repo uses: actions/checkout@v7 - name: Set up Go if: matrix.language == 'go' uses: actions/setup-go@v7 with: go-version-file: go.mod - name: Initialize CodeQL uses: github/codeql-action/init@v4 with: languages: ${{ matrix.language }} build-mode: ${{ matrix.build-mode }} - name: CodeQL Analysis uses: github/codeql-action/analyze@v4 with: category: "/language:${{ matrix.language }}"