fix: use local eligibility action in workflows - #2116
Conversation
Workflow source detectedPR #2116 now has valid workflow source context (origin=review_followup). No linked GitHub issue is required for this PR. |
Automated Status SummaryHead SHA: 0ddd032
Coverage Overview
Coverage Trend
Top Coverage Hotspots (lowest coverage)
Updated automatically; will refresh on subsequent CI/Docker completions. Keepalive checklistScopeNo scope information available Tasks
Acceptance criteria
|
There was a problem hiding this comment.
Pull request overview
This PR updates both the Workflows repo and the consumer templates to stop using the cross-repo agent-event-eligibility action reference and instead run eligibility checks via the synced local action (./.github/actions/agent-event-eligibility). To support local action execution without pulling the full repo, it adds a minimal actions/checkout sparse-checkout step for the action directory immediately before each eligibility step, and it updates legacy-autofix bridge messaging in the workflow header and sync manifest.
Changes:
- Replace
stranske/Workflows/.github/actions/agent-event-eligibility@mainwith./.github/actions/agent-event-eligibilityacross affected workflows. - Add a sparse-checkout
actions/checkoutstep to fetch only.github/actions/agent-event-eligibilitybefore running the local action. - Clarify the legacy role of
agents-autofix-dispatcher.ymland align.github/sync-manifest.ymldescription wording.
Reviewed changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
templates/consumer-repo/.github/workflows/autofix.yml |
Sparse-checkout the local eligibility action and switch eligibility step to ./.github/actions/agent-event-eligibility. |
templates/consumer-repo/.github/workflows/agents-guard.yml |
Same local eligibility action + sparse-checkout pattern for guard gating. |
templates/consumer-repo/.github/workflows/agents-autofix-dispatcher.yml |
Add header comment clarifying legacy/compatibility purpose. |
templates/consumer-repo/.github/workflows/agents-auto-pilot.yml |
Gate job now checks out and uses the local eligibility action. |
templates/consumer-repo/.github/workflows/agents-auto-label.yml |
Add sparse-checkout + local eligibility action before running auto-label flow. |
templates/consumer-repo/.github/workflows/agents-80-pr-event-hub.yml |
Add sparse-checkout + local eligibility action for consolidated event hub gating. |
.github/workflows/autofix.yml |
Internal workflow now uses the local eligibility action via sparse-checkout. |
.github/workflows/agents-moderate-connector.yml |
Internal workflow now uses the local eligibility action via sparse-checkout. |
.github/workflows/agents-guard.yml |
Internal workflow now uses the local eligibility action via sparse-checkout. |
.github/workflows/agents-bot-comment-handler.yml |
Internal workflow now uses the local eligibility action via sparse-checkout. |
.github/workflows/agents-autofix-dispatcher.yml |
Add header comment clarifying legacy/compatibility purpose. |
.github/workflows/agents-auto-pilot.yml |
Gate job now checks out and uses the local eligibility action. |
.github/workflows/agents-auto-label.yml |
Add sparse-checkout + local eligibility action before running auto-label flow. |
.github/workflows/agents-70-orchestrator.yml |
Eligibility job now checks out and uses the local eligibility action. |
.github/sync-manifest.yml |
Update manifest description to reflect legacy nature of the autofix dispatcher bridge. |
32ed2fc to
92946db
Compare
Summary
Validation
Supersedes #2009.