fix: use local eligibility action in workflows - #2009
Conversation
|
No description provided. |
Workflow source neededPR #2009 needs either a linked GitHub issue or one valid non-issue Workflow Source before PR metadata automation can manage it safely. Please do one of:
Once a valid source is present, this warning will not be reposted. |
Automated Status SummaryHead SHA: c268662
Coverage Overview
Updated automatically; will refresh on subsequent CI/Docker completions. Keepalive checklistScopeNo scope information available Tasks
Acceptance criteria
|
|
No description provided. |
There was a problem hiding this comment.
Pull request overview
This PR updates multiple agent/autofix workflows (both in-repo and consumer templates) to stop depending on a floating cross-repo agent-event-eligibility action reference, and instead use the locally-synced composite action with a lightweight sparse checkout to make that local action available at runtime.
Changes:
- Replace
stranske/Workflows/.github/actions/agent-event-eligibility@mainwith./.github/actions/agent-event-eligibilityacross affected workflows. - Add a minimal
actions/checkoutsparse-checkout step before each eligibility check so local action resolution works without a full repo checkout. - Clarify
agents-autofix-dispatcheras a legacy compatibility bridge and adjust the sync-manifest description accordingly.
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 | Switch eligibility to local action and add sparse checkout for it. |
| templates/consumer-repo/.github/workflows/agents-guard.yml | Switch eligibility to local action and add sparse checkout for it. |
| templates/consumer-repo/.github/workflows/agents-autofix-dispatcher.yml | Add header comment clarifying legacy/bridge role. |
| templates/consumer-repo/.github/workflows/agents-auto-pilot.yml | Switch gate job eligibility to local action and add sparse checkout for it. |
| templates/consumer-repo/.github/workflows/agents-auto-label.yml | Switch eligibility to local action and add sparse checkout for it. |
| templates/consumer-repo/.github/workflows/agents-80-pr-event-hub.yml | Switch eligibility to local action and add sparse checkout for it. |
| .github/workflows/autofix.yml | Switch eligibility to local action and add sparse checkout for it. |
| .github/workflows/agents-moderate-connector.yml | Switch eligibility to local action and add sparse checkout for it. |
| .github/workflows/agents-guard.yml | Switch eligibility to local action and add sparse checkout for it. |
| .github/workflows/agents-bot-comment-handler.yml | Switch eligibility to local action and add sparse checkout for it. |
| .github/workflows/agents-autofix-dispatcher.yml | Add header comment clarifying legacy/bridge role. |
| .github/workflows/agents-auto-pilot.yml | Switch gate job eligibility to local action and add sparse checkout for it. |
| .github/workflows/agents-auto-label.yml | Switch eligibility to local action and add sparse checkout for it. |
| .github/workflows/agents-70-orchestrator.yml | Switch eligibility to local action and add sparse checkout for it. |
| .github/sync-manifest.yml | Update description to reflect legacy dispatch bridge behavior. |
Summary
Validation