mirror of
https://github.com/goauthentik/authentik.git
synced 2026-06-17 19:09:11 +03:00
397e8ff8c4
Replace the three remaining tag-pinned references to github/codeql-action@v4.35.5 in qa-codeql.yml with their resolved commit SHA (9e0d7b8d25671d64c341c19c0152d693099fb5ba). Tag pinning allows an upstream tag to be silently retargeted at a new commit; SHA pinning removes that risk and brings these three references in line with the rest of the repo's actions, which are already SHA-pinned. Co-authored-by: Agent <279763771+playpen-agent@users.noreply.github.com>
38 lines
1.0 KiB
YAML
38 lines
1.0 KiB
YAML
---
|
|
name: QA - CodeQL
|
|
|
|
on:
|
|
push:
|
|
branches: [main, next, version*]
|
|
pull_request:
|
|
branches: [main]
|
|
schedule:
|
|
- cron: "30 6 * * 5"
|
|
|
|
jobs:
|
|
analyze:
|
|
name: Analyze
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
security-events: write
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
language: ["go", "javascript", "python"]
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v5
|
|
- name: Setup authentik env
|
|
uses: ./.github/actions/setup
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@9e0d7b8d25671d64c341c19c0152d693099fb5ba # v4.35.5
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
- name: Autobuild
|
|
uses: github/codeql-action/autobuild@9e0d7b8d25671d64c341c19c0152d693099fb5ba # v4.35.5
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@9e0d7b8d25671d64c341c19c0152d693099fb5ba # v4.35.5
|