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
chore(ci): convert hypatia-scan.yml to wrapper of standards reusable (#45)
## Summary
Replaces the per-repo `hypatia-scan.yml` (416 lines) with a 29-line
wrapper calling
`hyperpolymath/standards/.github/workflows/hypatia-scan-reusable.yml@2569c10e831e293f9dd6580d82a494aca039deee`
(standards#191 HEAD SHA).
Behaviour-preserving: identical triggers
(push/pull_request/schedule/workflow_dispatch), same concurrency group,
same permissions (contents:read + security-events:write +
pull-requests:write), same secrets passthrough.
Same pattern as the rust-ci wrapper sweep (standards#174 + 82 wrapper
PRs filed 2026-05-26).
## Pin-to-not-yet-merged-SHA
Intentional: the SHA points at standards#191's PR HEAD. The wrapper file
is staged but the action runner won't load the reusable until
standards#191 lands on main.
## Test plan
- [ ] `pull_request` triggers run main's old workflow file
(target-branch semantics)
- [ ] After standards#191 merges, the next push exercises the reusable
end-to-end
- [ ] SARIF still uploads on non-fork triggers; gitbot-fleet submission
still best-effort
Refs standards#191.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
# The submission script's location in gitbot-fleet has drifted
124
-
# before (it was absent from the default branch, which exit-127'd
125
-
# every consuming repo's scan). Probe known locations rather than
126
-
# hard-coding one path, and skip gracefully if none is present.
127
-
SUBMIT_SCRIPT=""
128
-
for cand in \
129
-
"$FLEET_DIR/scripts/submit-finding.sh" \
130
-
"$FLEET_DIR/scripts/submit_finding.sh" \
131
-
"$FLEET_DIR/bin/submit-finding.sh" \
132
-
"$FLEET_DIR/submit-finding.sh"; do
133
-
if [ -f "$cand" ]; then
134
-
SUBMIT_SCRIPT="$cand"
135
-
break
136
-
fi
137
-
done
138
-
139
-
if [ -z "$SUBMIT_SCRIPT" ]; then
140
-
echo "::warning::gitbot-fleet submit-finding script not found at any known path — skipping Phase 2 learning submission (non-fatal). Findings are still uploaded as an artifact and gated below."
141
-
rm -rf "$FLEET_DIR"
142
-
exit 0
143
-
fi
144
-
145
-
# Run submission script. Pass the findings path as ABSOLUTE —
146
-
# the script cd's into its own working dir before reading the
147
-
# file, so a relative path would resolve to the wrong place.
148
-
# A submission-script failure is logged but non-fatal.
149
-
if bash "$SUBMIT_SCRIPT" "$GITHUB_WORKSPACE/hypatia-findings.json"; then
0 commit comments