Commit d0deb62
authored
fix(ci): strip @mentions from dependabot major version analysis comments (#220)
## Summary
- Strip `@username` mentions from upstream release notes before posting
as PR comments
- Prevents notification spam to external open-source contributors
- Preserves `@scope/pkg`, `email@domain`, and `action@version` patterns
Closes #216
## Test plan
- [x] Regex tested against real spam comment from aimock PR #214 (44
mentions stripped, 0 collateral damage)
- [x] YAML code refs (`checkout@v5`) preserved
- [x] npm scopes (`@actions/cache`) preserved
- [x] Email patterns preserved1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
0 commit comments