9d2994a4aa
BREAKING CHANGE: Workflow files consolidated with proper dependencies - Create new unified CI pipeline (.github/workflows/ci.yml) - Multi-stage pipeline: test/lint/mypy → build → deploy - Add concurrency groups to cancel redundant PR runs - Fix bug: only push Docker images on push events (not PRs) - Fix bug: upgrade checkout action from v3 to v4 - Fix bug: enforce quality gates with job dependencies - Preserve Redis/RabbitMQ services for tests - Preserve Codecov integration and test artifacts - Push to both Docker Hub and GHCR with proper tags - Include SBOM and provenance attestations - Update release.yml: remove no-op "Trigger Docker Build" step - Update codeql.yml: remove template comments and boilerplate - Delete 4 redundant workflow files: - tests.yaml (merged into ci.yml) - docker-build.yaml (merged into ci.yml) - docker-ci.yml (merged into ci.yml) - deploy.yaml (merged into ci.yml) Docker registries: Docker Hub + GHCR (Quay.io auto-builds separately) Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
56 lines
1.4 KiB
YAML
56 lines
1.4 KiB
YAML
name: "CodeQL Advanced"
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
schedule:
|
|
- cron: '37 1 * * 1'
|
|
|
|
jobs:
|
|
analyze:
|
|
name: Analyze (${{ matrix.language }})
|
|
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
|
|
permissions:
|
|
security-events: write
|
|
packages: read
|
|
actions: read
|
|
contents: read
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- language: actions
|
|
build-mode: none
|
|
- language: javascript-typescript
|
|
build-mode: none
|
|
- language: python
|
|
build-mode: none
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v4
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
build-mode: ${{ matrix.build-mode }}
|
|
|
|
- name: Run manual build steps
|
|
if: matrix.build-mode == 'manual'
|
|
shell: bash
|
|
run: |
|
|
echo 'If you are using a "manual" build mode for one or more of the' \
|
|
'languages you are analyzing, replace this with the commands to build' \
|
|
'your code, for example:'
|
|
echo ' make bootstrap'
|
|
echo ' make release'
|
|
exit 1
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v4
|
|
with:
|
|
category: "/language:${{matrix.language}}"
|