mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-03 21:54:07 +09:00
* Make CodeQL workflow multi-language matrix * Consolidate merge-hold check into CI * Merge labeler workflow into CI and adjust triggers * Integrate Release Drafter into CI workflow * Embed live-tests job into CI workflow * Refactor CI workflow: consolidate permissions * Enable release-drafter autolabeler * Rename CI job name to 'Live Tests' * Add composite action to prepare application assets * Enable workflow concurrency and fail-fast * Run live-tests after spellcheck * Add live-tests dependency to preview-build * Make concurrency group include workflow/event/PR
44 lines
1.0 KiB
YAML
44 lines
1.0 KiB
YAML
name: "CodeQL Advanced"
|
|
|
|
on:
|
|
push:
|
|
branches: ["main"]
|
|
pull_request:
|
|
branches: ["main"]
|
|
schedule:
|
|
- cron: '43 1 * * 0'
|
|
|
|
jobs:
|
|
analyze:
|
|
name: Analyze (${{ matrix.language }})
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
packages: read
|
|
security-events: write
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- language: actions
|
|
build-mode: none
|
|
- language: javascript
|
|
build-mode: none
|
|
|
|
steps:
|
|
- name: 'Checkout Repository'
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
|
|
|
- name: 'Initialize CodeQL'
|
|
uses: github/codeql-action/init@e46ed2cbd01164d986452f91f178727624ae40d7 # v4
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
build-mode: ${{ matrix.build-mode }}
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@e46ed2cbd01164d986452f91f178727624ae40d7 # v4
|
|
with:
|
|
category: "/language:${{matrix.language}}"
|