mirror of
https://github.com/wickedyoda/public-setupfiles.git
synced 2026-11-16 13:31:56 -06:00
* chore: add security scanning workflows for PRs - ShellCheck on bash scripts - CodeQL SAST for Python - pip-audit for requirements.txt CVEs - Docker Scout for Dockerfile vulnerabilities - Secret scanning config with path exclusions - SECURITY_SCANS.md documentation * fix: correct ShellCheck and Docker Scout action references in CI - Replace nonexistent ludeeus/shellicopter with direct shellcheck install+run - Update docker/scout-action@v0 to @v0.2.0 - Use select:critical instead of hardcoded alpine:latest image for repo Dockerfiles --------- Co-authored-by: Wicked Yoda <noreply@users.noreply.github.com>
38 lines
668 B
YAML
38 lines
668 B
YAML
name: CodeQL
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
push:
|
|
branches: [main]
|
|
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
security-events: write
|
|
|
|
strategy:
|
|
matrix:
|
|
language: ['python']
|
|
|
|
jobs:
|
|
analyze:
|
|
name: CodeQL Analysis
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v3
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
upload: true
|
|
|
|
- name: Autobuild
|
|
uses: github/codeql-action/autobuild@v3
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v3
|