Frontmatter
| title | Fix #7377 Created Script to Sync New GitHub Issues to Local Markdown Files |
| author | nabeel001 |
| state | Merged |
| createdAt | Oct 9, 2025, 7:05 AM |
| updatedAt | Oct 9, 2025, 8:42 PM |
| closedAt | Oct 9, 2025, 8:42 PM |
| mergedAt | Oct 9, 2025, 8:42 PM |
| branches | dev ← sync-new-github-issues |
| url | https://github.com/neomjs/neo/pull/7424 |
Merged

tobiu
commented on Oct 9, 2025, 8:42 PM
thx for your contribution! input from gemini:
✦ This is an excellent PR that fully meets the requirements of the ticket. I've reviewed all three changed/added files (createGhIssue.mjs, syncGhIssuesToLocal.mjs, and the new util/ticketUtils.mjs), and the implementation is solid.
- Refactoring: The helper functions from createGhIssue.mjs have been correctly extracted into the new shared module util/ticketUtils.mjs.
- Code Reuse: Both the original createGhIssue.mjs script and the new syncGhIssuesToLocal.mjs script correctly import and use the shared functions from the utility module.
- New Script Logic: The syncGhIssuesToLocal.mjs script is well-implemented. It correctly uses the gh CLI to fetch issues, compares them against local files, and creates any missing tickets. The inclusion of --dry-run is also a great feature.
This is a high-quality submission that can be merged.
One very minor point for a future cleanup: I noticed a small inconsistency in the generated filenames.
- The createGhIssue script renames files to gh
- .md (e.g., gh123-title.md). - The new syncGhIssuesToLocal script creates files named gh-
<ID>-<slug>.md (e.g., gh-123-title.md).This is not a blocker, but it would be good to unify this to a single format in a future ticket to ensure perfect consistency.
Great work
--
Please make sure to read the Contributing Guidelines:
https://github.com/neomjs/neo/blob/dev/CONTRIBUTING.md
What kind of change does this PR introduce? (check at least one)
Does this PR introduce a breaking change? (check one)
If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:
devbranch, not themainbranchfix #xxx[,#xxx], where "xxx" is the issue number)If adding a new feature, the PR's description includes:
Other information: Created Script to Sync New GitHub Issues to Local Markdown Files Closes #7377