diff --git a/.github/workflows/agents-81-gate-followups.yml b/.github/workflows/agents-81-gate-followups.yml index 29f48680..ef976f89 100644 --- a/.github/workflows/agents-81-gate-followups.yml +++ b/.github/workflows/agents-81-gate-followups.yml @@ -434,7 +434,7 @@ jobs: echo "$metrics_json" >> keepalive-metrics.ndjson - name: Upload keepalive metrics artifact - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@v6 with: name: keepalive-metrics path: keepalive-metrics.ndjson @@ -630,6 +630,7 @@ jobs: with: sparse-checkout: | .github/scripts/prompt_injection_guard.js + .github/scripts/github-rate-limited-wrapper.js .github/scripts/github-api-with-retry.js .github/scripts/token_load_balancer.js .github/scripts/agent_registry.js @@ -1269,7 +1270,7 @@ jobs: PY - name: Upload metrics artifact - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@v6 with: name: agents-autofix-metrics path: autofix-metrics.ndjson diff --git a/.github/workflows/agents-auto-pilot.yml b/.github/workflows/agents-auto-pilot.yml index b36f0387..ab62deac 100644 --- a/.github/workflows/agents-auto-pilot.yml +++ b/.github/workflows/agents-auto-pilot.yml @@ -3154,7 +3154,7 @@ jobs: # ── Upload auto-pilot metrics for weekly aggregation ─────────── - name: Upload auto-pilot metrics if: always() - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@v6 continue-on-error: true with: name: autopilot-metrics-${{ github.run_id }}-${{ github.run_attempt }} diff --git a/.github/workflows/agents-autofix-loop.yml b/.github/workflows/agents-autofix-loop.yml index 3bc4d461..c1db1ac4 100644 --- a/.github/workflows/agents-autofix-loop.yml +++ b/.github/workflows/agents-autofix-loop.yml @@ -930,7 +930,7 @@ jobs: PY - name: Upload metrics artifact - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@v6 with: name: agents-autofix-metrics path: autofix-metrics.ndjson diff --git a/.github/workflows/agents-keepalive-loop.yml b/.github/workflows/agents-keepalive-loop.yml index 707d2673..629e598f 100644 --- a/.github/workflows/agents-keepalive-loop.yml +++ b/.github/workflows/agents-keepalive-loop.yml @@ -383,7 +383,7 @@ jobs: steps.evaluate.outputs.action == 'run' || steps.evaluate.outputs.action == 'fix' || steps.evaluate.outputs.action == 'conflict' - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@v6 with: name: keepalive-task-appendix-${{ steps.evaluate.outputs.pr_number }} path: /tmp/keepalive-artifacts/task-appendix.txt @@ -952,7 +952,7 @@ jobs: echo "$metrics_json" >> keepalive-metrics.ndjson - name: Upload keepalive metrics artifact - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@v6 with: name: keepalive-metrics path: keepalive-metrics.ndjson diff --git a/.github/workflows/agents-weekly-metrics.yml b/.github/workflows/agents-weekly-metrics.yml index fd25d131..bbff26bf 100644 --- a/.github/workflows/agents-weekly-metrics.yml +++ b/.github/workflows/agents-weekly-metrics.yml @@ -160,7 +160,7 @@ jobs: python scripts/aggregate_agent_metrics.py - name: Upload weekly summary - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@v6 with: name: agent-weekly-metrics path: agent-weekly-metrics.md diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index 5626d395..f02f8d32 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -2,10 +2,13 @@ # Auto-fixes lint and format issues on PRs # # Triggers: -# - Gate workflow completes with failure (lint/format issues detected) +# - Gate/CI/Python CI workflow completes with failure (lint/format issues detected) # - Lint job fails early (workflow_job completed) # - PR labeled with 'autofix' or 'autofix:clean' (manual trigger) # +# Note: push trigger removed — it caused "This isn't working right now" errors +# because GitHub Actions can't resolve the reusable workflow reference on push events +# # Copy this file to: .github/workflows/autofix.yml # # Required secrets: @@ -13,9 +16,6 @@ name: Autofix on: - push: - branches: - - '**' workflow_run: workflows: ["Gate", "CI", "Python CI"] types: [completed] @@ -51,16 +51,8 @@ concurrency: cancel-in-progress: true jobs: - push-noop: - name: Push noop - if: ${{ github.event_name == 'push' }} - runs-on: ubuntu-latest - steps: - - run: echo "Autofix workflow ignores push events; nothing to do." - # Resolve PR context resolve: - if: ${{ github.event_name != 'push' }} name: Resolve Context runs-on: ubuntu-latest outputs: diff --git a/.github/workflows/maint-coverage-guard.yml b/.github/workflows/maint-coverage-guard.yml index 98363ced..18eb8efd 100644 --- a/.github/workflows/maint-coverage-guard.yml +++ b/.github/workflows/maint-coverage-guard.yml @@ -186,7 +186,7 @@ jobs: - name: Download coverage trend artifact if: ${{ steps.discover.outputs.run_id }} - uses: actions/download-artifact@v8 + uses: actions/download-artifact@v7 continue-on-error: true with: name: gate-coverage-trend @@ -196,7 +196,7 @@ jobs: - name: Download coverage payload artifact if: ${{ steps.discover.outputs.run_id }} - uses: actions/download-artifact@v8 + uses: actions/download-artifact@v7 continue-on-error: true with: name: gate-coverage