2021-07-28 07:58:13 +00:00
|
|
|
name: "CodeQL"
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2023-04-21 10:54:23 +00:00
|
|
|
branches: [main, "*", next, version*]
|
2021-07-28 07:58:13 +00:00
|
|
|
pull_request:
|
2023-04-21 10:54:23 +00:00
|
|
|
branches: [main]
|
2021-07-28 07:58:13 +00:00
|
|
|
schedule:
|
2023-04-21 10:54:23 +00:00
|
|
|
- cron: "30 6 * * 5"
|
2021-07-28 07:58:13 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
analyze:
|
|
|
|
name: Analyze
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
|
|
actions: read
|
|
|
|
contents: read
|
|
|
|
security-events: write
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2023-04-21 10:54:23 +00:00
|
|
|
language: ["go", "javascript", "python"]
|
2021-07-28 07:58:13 +00:00
|
|
|
steps:
|
2023-04-21 10:54:23 +00:00
|
|
|
- name: Checkout repository
|
2023-09-05 04:42:41 +00:00
|
|
|
uses: actions/checkout@v4
|
2023-04-21 12:45:41 +00:00
|
|
|
- name: Setup authentik env
|
|
|
|
uses: ./.github/actions/setup
|
2023-04-21 10:54:23 +00:00
|
|
|
- name: Initialize CodeQL
|
2023-12-14 10:07:58 +00:00
|
|
|
uses: github/codeql-action/init@v3
|
2023-04-21 10:54:23 +00:00
|
|
|
with:
|
|
|
|
languages: ${{ matrix.language }}
|
|
|
|
- name: Autobuild
|
2023-12-14 10:07:58 +00:00
|
|
|
uses: github/codeql-action/autobuild@v3
|
2023-04-21 10:54:23 +00:00
|
|
|
- name: Perform CodeQL Analysis
|
2023-12-14 10:07:58 +00:00
|
|
|
uses: github/codeql-action/analyze@v3
|