Skip to content

fix(ci): resolve E701 lint findings in watcher_status_pane #138

fix(ci): resolve E701 lint findings in watcher_status_pane

fix(ci): resolve E701 lint findings in watcher_status_pane #138

Workflow file for this run

name: custodian-audit
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install Custodian
run: |
python -m pip install --upgrade pip
pip install "custodian[tools] @ git+https://github.com/ProtocolWarden/Custodian.git@main"
pip install ruff vulture ty
- name: Install repo (best-effort, for adapter passes)
run: |
if [ -f pyproject.toml ]; then
pip install -e . || true
fi
- name: Materialize boundary artifact file
# Decode the boundary disclosure artifact from the base64 CONTENT secret
# REPOGRAPH_BOUNDARY_ARTIFACT_B64 (the older *_FILE path secret cannot resolve
# on a CI runner). Graceful: skip if absent (B2 flags it if required).
env:
REPOGRAPH_BOUNDARY_ARTIFACT_B64: ${{ secrets.REPOGRAPH_BOUNDARY_ARTIFACT_B64 }}
run: |
if [ -z "${REPOGRAPH_BOUNDARY_ARTIFACT_B64:-}" ]; then
echo "REPOGRAPH_BOUNDARY_ARTIFACT_B64 not set — skipping (B2 flags if required)."
exit 0
fi
dest="$(mktemp "${RUNNER_TEMP:-/tmp}/repograph-boundary-XXXXXX.json")"
printf '%s' "$REPOGRAPH_BOUNDARY_ARTIFACT_B64" | base64 -d > "$dest"
echo "REPOGRAPH_BOUNDARY_ARTIFACT_FILE=$dest" >> "$GITHUB_ENV"
- name: Run Custodian audit
run: |
git config core.hooksPath .hooks
custodian-multi --repos . --fail-on-findings --no-color