You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix(ci): clear lint-workflows + lint-shell; fix container builder package
Companion fix driven by cicd-squabbler's diagnosis of PR #43, which is
blocked behind five reds none of which its 2-line Dependabot diff caused.
This addresses the reds that are genuinely fixable at source (the squabbler's
own CI-config lane + two clean code fixes), each ground-truthed from the
actual CI logs:
- lint-workflows: `.github/workflows/codeql.yml` was missing a top-level
`permissions:` declaration. Added `permissions: read-all`.
- lint-shell: two SC2155 warnings ("declare and assign separately to avoid
masking return values") in ipv6-config.sh:182 and ipv6-diag.sh:188. Split
each `local x=$(...)` into a separate declaration and assignment.
- container-build: `apk add ... cargo` failed on the Chainguard wolfi-base
repo with "cargo (no such package)". On wolfi the cargo binary ships inside
the `rust` package, so `cargo` is dropped from the apk line (the `ipv6`
binary target and COPY path are already correct — the app builds clean with
`cargo build --release`). Container build is verified by CI.
Left for the owner (not forced to green here):
- The `AGPL-3.0-or-later` OCI label in the Containerfile contradicts estate
MPL-2.0 policy. Licence edits are owner-only (no automated licence edits),
so this is flagged, not changed.
- `governance / Well-Known` and `governance / Workflow security linter` are
produced by the reusable workflow in hyperpolymath/standards; the fix
belongs upstream, not on this PR.
Dependabot's PR #43 branch is left untouched; merging this to main unblocks
its re-run of the shared reds.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SUURnQUnzTXYftzWFs5pfZ
* fix(ci): renew expired security.txt; least-privilege codeql permissions
Two reds surfaced by this PR's own CI, both fixed at source:
- governance / Well-Known: `.well-known/security.txt` had `Expires:
2025-12-31`, so the RFC 9116 check failed with "security.txt EXPIRED".
Renewed to 2027-07-03 (the PGP block is a documented placeholder, not a
real signature, so nothing is invalidated). This is honest maintenance —
the check wants a non-expired contact file and now gets one.
- SonarQube githubactions:S8234: the `permissions: read-all` added to
codeql.yml (to satisfy the workflow-linter's top-level permissions
requirement) was flagged as overly broad. Switched to least-privilege
block form (`contents: read`), which satisfies BOTH the linter (a
top-level `permissions:` key is present) and Sonar (minimal scope). The
workflow's only job is a disabled placeholder, so read access suffices.
Note for the owner: the estate convention of `permissions: read-all` in the
other workflows will trip Sonar S8234 whenever one of them is next touched;
worth standardising on least-privilege block form across the repo.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SUURnQUnzTXYftzWFs5pfZ
---------
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments