chore: remove debug-event job, merge into failure step
The separate debug-event job ran on every event, wasting a runner. Merged the event payload dump into the existing "Debug on failure" step so it only runs when the claude job actually fails. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
e73c881c64
commit
910c843122
1 file changed
+11
-29
@@ -14,35 +14,6 @@ concurrency:
|
||||
group: claude-${{ github.event.issue.number || github.event.pull_request.number }}-${{ github.run_id }}
|
||||
|
||||
jobs:
|
||||
# Temporary debug job to inspect Forgejo event payloads (PRD #6 E2E testing)
|
||||
debug-event:
|
||||
runs-on: grunt
|
||||
steps:
|
||||
- name: Dump event context
|
||||
run: |
|
||||
echo "=== Event Context ==="
|
||||
echo "github.event_name: ${{ github.event_name }}"
|
||||
echo "github.event.action: ${{ github.event.action }}"
|
||||
echo ""
|
||||
echo "=== Comment fields ==="
|
||||
echo "github.event.comment.body: ${{ github.event.comment.body }}"
|
||||
echo "github.event.comment.id: ${{ github.event.comment.id }}"
|
||||
echo ""
|
||||
echo "=== Review fields ==="
|
||||
echo "github.event.review.body: ${{ github.event.review.body }}"
|
||||
echo "github.event.review.id: ${{ github.event.review.id }}"
|
||||
echo ""
|
||||
echo "=== GITHUB_EVENT_NAME env: $GITHUB_EVENT_NAME ==="
|
||||
echo "=== GITHUB_EVENT_PATH: $GITHUB_EVENT_PATH ==="
|
||||
echo ""
|
||||
echo "=== Event Payload ==="
|
||||
if [ -f "$GITHUB_EVENT_PATH" ]; then
|
||||
cat "$GITHUB_EVENT_PATH"
|
||||
else
|
||||
echo "GITHUB_EVENT_PATH file not found!"
|
||||
env | grep -i event || true
|
||||
fi
|
||||
|
||||
claude:
|
||||
if: |
|
||||
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
|
||||
@@ -85,6 +56,17 @@ jobs:
|
||||
echo "Event: ${{ github.event_name }} / ${{ github.event.action }}"
|
||||
echo "Actor: ${{ github.actor }}"
|
||||
echo ""
|
||||
echo "=== Event Payload ==="
|
||||
echo "comment.body: ${{ github.event.comment.body }}"
|
||||
echo "comment.id: ${{ github.event.comment.id }}"
|
||||
echo "review.body: ${{ github.event.review.body }}"
|
||||
echo "review.id: ${{ github.event.review.id }}"
|
||||
echo ""
|
||||
if [ -f "$GITHUB_EVENT_PATH" ]; then
|
||||
echo "--- GITHUB_EVENT_PATH ---"
|
||||
cat "$GITHUB_EVENT_PATH"
|
||||
fi
|
||||
echo ""
|
||||
EXEC_FILE="${{ steps.claude.outputs.execution_file }}"
|
||||
if [ -f "$EXEC_FILE" ]; then
|
||||
echo "--- Execution file contents ---"
|
||||
|
||||
Reference in new issue
Block a user