Restore schedule and workflow_dispatch trigger conditions for stale management jobs#237
Conversation
Co-authored-by: chicco785 <777218+chicco785@users.noreply.github.com>
|
@copilot you reverted my changes, but those changes were not working even before... |
I need clarification on what's not working. My understanding:
Can you clarify:
This will help me understand what needs to be fixed.
I think I now understand the requirement better. You want:
If that's correct, then your original condition The workflow will work when called from another repo - the Should I revert my changes back to |
The
manage-stale-issuesandsync-priorityjobs were restricted to only run onworkflow_callevents, preventing them from executing when the workflow was triggered directly viascheduleorworkflow_dispatch.Changes
schedule,workflow_dispatch, orworkflow_calleventsmanage-stale-issuesandsync-priorityjobs now run regardless of trigger typeThis enables the workflow to function both as a standalone scheduled job and as a reusable workflow called from other workflows.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.