mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-10-25 06:33:13 +08:00
github/issue-labeler compiles patterns with JavaScript RegExp, which rejects PCRE-only inline (?i) groups with SyntaxError: Invalid group, so the workflow failed before evaluating any rule and no issue ever got an area label (#764). Replace the third-party action with first-party actions/github-script: the same config rules are compiled with the i flag applied centrally (case-insensitivity preserved), labels stay additive-only via addLabels, and a pattern that fails to compile now fails the run loudly instead of silently no-oping. Strip (?i) from all 7 config patterns and document the line format the workflow parses. Verified locally: all 7 rules compile and match expected labels across sample issue texts; the old pattern reproduces the SyntaxError. Closes #764 Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>