3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-05-03 00:45:15 +00:00

update compiled workflows

This commit is contained in:
Don Syme 2025-09-17 23:47:16 +01:00
parent f300dfc425
commit d989bcaebe
7 changed files with 114 additions and 259 deletions

36
.github/workflows/ci-doctor.lock.yml generated vendored
View file

@ -1,17 +1,12 @@
# This file was automatically generated by gh-aw. DO NOT EDIT.
# To update this file, edit the corresponding .md file and run:
# gh aw compile
#
# Effective stop-time: 2025-09-19 15:41:02
name: "CI Failure Doctor"
"on":
on:
workflow_run:
types:
- completed
workflows:
- Daily Perf Improver
- Daily Test Coverage Improver
permissions: {}
@ -552,35 +547,6 @@ jobs:
}
}
EOF
- name: Safety checks
run: |
set -e
echo "Performing safety checks before executing agentic tools..."
WORKFLOW_NAME="CI Failure Doctor"
# Check stop-time limit
STOP_TIME="2025-09-19 15:41:02"
echo "Checking stop-time limit: $STOP_TIME"
# Convert stop time to epoch seconds
STOP_EPOCH=$(date -d "$STOP_TIME" +%s 2>/dev/null || echo "invalid")
if [ "$STOP_EPOCH" = "invalid" ]; then
echo "Warning: Invalid stop-time format: $STOP_TIME. Expected format: YYYY-MM-DD HH:MM:SS"
else
CURRENT_EPOCH=$(date +%s)
echo "Current time: $(date)"
echo "Stop time: $STOP_TIME"
if [ "$CURRENT_EPOCH" -ge "$STOP_EPOCH" ]; then
echo "Stop time reached. Attempting to disable workflow to prevent cost overrun, then exiting."
gh workflow disable "$WORKFLOW_NAME"
echo "Workflow disabled. No future runs will be triggered."
exit 1
fi
fi
echo "All safety checks passed. Proceeding with agentic tool execution."
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create prompt
env:
GITHUB_AW_PROMPT: /tmp/aw-prompts/prompt.txt