diff --git a/.forgejo/workflows/claude.yml b/.forgejo/workflows/claude.yml index 7d9c368..bc2c277 100644 --- a/.forgejo/workflows/claude.yml +++ b/.forgejo/workflows/claude.yml @@ -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 ---"