You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ci): safely sync issue metadata to PR and fix JSON parsing
- Stop direct interpolation of workflow outputs into github-script to avoid malformed JSON errors.
- Pass issues and PR number via environment variables and parse from process.env.
- Add defensive JSON parsing with cleaning for extra quotes/newlines.
- Fix typo in PR comment: use issue.milestone correctly.
- Use addLabels() instead of setLabels() to prevent race conditions and preserve existing PR labels.
- Sync milestones and add a comment summarizing the synchronized metadata.
0 commit comments