Skip to content

Add workflow to auto-sync TODO.md task groups to GitHub Issues#14

Merged
devlux76 merged 3 commits intomainfrom
copilot/investigate-todo-list-issue
Mar 13, 2026
Merged

Add workflow to auto-sync TODO.md task groups to GitHub Issues#14
devlux76 merged 3 commits intomainfrom
copilot/investigate-todo-list-issue

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 13, 2026

  • Investigated the problem: scripts/sync-github-project.mjs existed but no workflow triggered it when TODO.md changed
  • Created .github/workflows/sync-github-project.yml that triggers on push to main when TODO.md changes and supports workflow_dispatch
  • Added concurrency group (cancel-in-progress: false) to serialize runs and prevent race-condition duplicates

📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.

…m TODO.md

Co-authored-by: devlux76 <86517969+devlux76@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix issue with spawning TODO list tasks Add workflow to auto-sync TODO.md task groups to GitHub Issues Mar 13, 2026
Copilot AI requested a review from devlux76 March 13, 2026 03:21
@devlux76 devlux76 marked this pull request as ready for review March 13, 2026 03:24
@devlux76 devlux76 requested review from Copilot and removed request for devlux76 March 13, 2026 03:24
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a GitHub Actions workflow to run the existing sync:github-project automation whenever TODO.md changes on main, ensuring TODO task groups stay reflected as GitHub milestones/labels/issues.

Changes:

  • Introduces .github/workflows/sync-github-project.yml with push (TODO.md path filter) and workflow_dispatch triggers
  • Configures GITHUB_TOKEN permissions and exposes GH_TOKEN for gh CLI authentication
  • Runs npm ci and delegates to npm run sync:github-project

Comment on lines +11 to +18
permissions:
issues: write
contents: read

jobs:
sync:
runs-on: ubuntu-latest
steps:
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot excellent catch! Please fix it exercising your best judgement.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added in f49695a. Used cancel-in-progress: false so a queued run always executes rather than being dropped — safe because the script is idempotent and skips already-existing items regardless.

Co-authored-by: devlux76 <86517969+devlux76@users.noreply.github.com>
Copilot AI requested a review from devlux76 March 13, 2026 03:33
Copy link
Copy Markdown
Owner

@devlux76 devlux76 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work!

@devlux76 devlux76 merged commit ae7b618 into main Mar 13, 2026
2 checks passed
@devlux76 devlux76 deleted the copilot/investigate-todo-list-issue branch March 13, 2026 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants