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
Estate sweep (verisimiser#102 cascade): replace drifted hypatia-scan.yml
with the fixed canonical — corrects the env.HOME workdir / old scanner
layout drift AND adds pull-requests:write + Comment-step
continue-on-error so the advisory PR comment never hard-fails the
Hypatia check (hypatia#213). Mechanical, verified green on verisimiser
main.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
# The submission script's location in gitbot-fleet has drifted
141
+
# before (it was absent from the default branch, which exit-127'd
142
+
# every consuming repo's scan). Probe known locations rather than
143
+
# hard-coding one path, and skip gracefully if none is present.
144
+
SUBMIT_SCRIPT=""
145
+
for cand in \
146
+
"$FLEET_DIR/scripts/submit-finding.sh" \
147
+
"$FLEET_DIR/scripts/submit_finding.sh" \
148
+
"$FLEET_DIR/bin/submit-finding.sh" \
149
+
"$FLEET_DIR/submit-finding.sh"; do
150
+
if [ -f "$cand" ]; then
151
+
SUBMIT_SCRIPT="$cand"
152
+
break
153
+
fi
154
+
done
155
+
156
+
if [ -z "$SUBMIT_SCRIPT" ]; then
157
+
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."
158
+
rm -rf "$FLEET_DIR"
159
+
exit 0
160
+
fi
161
+
162
+
# Run submission script. Pass the findings path as ABSOLUTE —
163
+
# the script cd's into its own working dir before reading the
164
+
# file, so a relative path would resolve to the wrong place.
165
+
# A submission-script failure is logged but non-fatal.
166
+
if bash "$SUBMIT_SCRIPT" "$GITHUB_WORKSPACE/hypatia-findings.json"; then
0 commit comments