Files
accounted/.github/workflows/compliance-pr.yml
T
Jonas Flodén 1e19099945 fix(ci): quote compliance-pr.yml name to fix invalid YAML (#1003)
The unquoted colon in `name: compliance: review (advisory)` (introduced
by #890's em-dash removal, which swapped an em dash for a colon
in-place) makes YAML read it as a nested mapping key, so GitHub can't
parse the workflow at all - every run of it fails with 0 jobs scheduled,
on every branch and PR repo-wide.

Signed-off-by: Jonas Flodén

Signed-off-by: Jonas Flodén <jonas@floden.nu>
2026-07-12 20:54:08 +02:00

38 lines
1.0 KiB
YAML

name: "compliance: review (advisory)"
# Lightweight LLM-only review on every PR. ~90s, no Docker scanners.
# Posts a sticky comment with reasoned findings across all 5 frameworks.
# The nightly compliance-swarm.yml (mode: audit) provides the deeper
# scanner-backed coverage.
on:
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: read
pull-requests: write
concurrency:
group: compliance-review-${{ github.ref }}
cancel-in-progress: true
jobs:
review:
name: Compliance review (advisory)
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: erp-mafia/compliancemaxx@v2
with:
base: ${{ github.event.pull_request.base.sha }}
fail-on-findings: false # advisory while bedding in
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: eu-north-1