⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
feat(ci): gate workflow changes on high-severity zizmor findings
justinc74b9a5eae79
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 494b8c729..31810db60 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -317,6 +317,27 @@ jobs:shellcheck --version"$RUNNER_TEMP/actionlint" -colorshellcheck scripts/ci/*.sh+ - name: Install zizmor+ run: |+ curl --fail --silent --show-error --location --max-time 120 \+ https://github.com/zizmorcore/zizmor/releases/download/v1.30.1/zizmor-x86_64-unknown-linux-gnu.tar.gz \+ -o "$RUNNER_TEMP/zizmor.tar.gz"+ echo "e65324f4430c2717591937edcec90ccbefaf14c174f8ec9415e03ca875b46e1a $RUNNER_TEMP/zizmor.tar.gz" | sha256sum --check --strict+ tar -xzf "$RUNNER_TEMP/zizmor.tar.gz" -C "$RUNNER_TEMP" zizmor+ - name: Audit workflows with zizmor+ run: |+ # High-severity, high-confidence findings block the change; lower+ # severities surface via the nightly zizmor scan in Code Scanning.+ # zizmor's exit code does not reflect filtered findings, so count them.+ "$RUNNER_TEMP/zizmor" --no-online-audits --format json .github/workflows/ \+ > "$RUNNER_TEMP/zizmor.json" || true+ count="$(jq '[.[] | select(.determinations.severity == "High" and .determinations.confidence == "High")] | length' "$RUNNER_TEMP/zizmor.json")"+ echo "High-severity, high-confidence zizmor findings: $count"+ if [ "$count" -ne 0 ]; then+ jq -r '.[] | select(.determinations.severity == "High" and .determinations.confidence == "High") | "\(.locations[0].symbolic.key.Local.verbatim_path): \(.ident)"' \+ "$RUNNER_TEMP/zizmor.json"+ exit 1+ fistorage:runs-on: blacksmith-4vcpu-ubuntu-2404