Separate issue management from project management - #236
Conversation
There was a problem hiding this comment.
Pull request overview
This PR fixes a workflow trigger condition issue by restricting two jobs to only run when called by another workflow. Previously, these jobs could be triggered by schedule, manual dispatch, or workflow call events, but they are now limited to only workflow call events.
Changes:
- Updated trigger conditions for
manage-stale-issuesandsync-priorityjobs to only respond toworkflow_callevents
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot why those workflows are not triggered from this caller using schedule, but works with workflow_dispatch? name: Project Management |
|
@chicco785 I've opened a new pull request, #237, to work on those changes. Once the pull request is ready, I'll request review from you. |
|
@copilot update the documentation and verify my changes |
|
@chicco785 I've opened a new pull request, #238, to work on those changes. Once the pull request is ready, I'll request review from you. |
Updated README.MD to reflect the separation of issue management from project management workflows introduced in commit 99c09e6. ## Changes - **Documented `add-to-project.yaml`**: Handles project operations (adding issues/PRs to projects, assigning reviewers). Triggers: `issues`, `pull_request`, `workflow_call` - **Documented `manage-issues.yaml`**: New workflow for issue management with two jobs: - `manage-stale-issues`: Marks unplanned issues as stale, closes after grace period - `sync-priority`: Maps GitHub Project priority fields to P0-P3 labels Triggers: `schedule` (daily), `workflow_dispatch`, `workflow_call` The separation resolves scheduling conflicts - issue management jobs now execute on schedule without restrictions from event-triggered project management operations. <!-- START COPILOT CODING AGENT TIPS --> --- ✨ Let Copilot coding agent [set things up for you](https://github.com/zaphiro-technologies/github-workflows/issues/new?title=✨+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot) — coding agent works faster and does higher quality work when set up for your repo. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: chicco785 <777218+chicco785@users.noreply.github.com>
Description
This PR, to solve scheduling issues, separates issue management jobs from project management jobs.
Changes Made
Related Issues
N/A
Checklist