Skip to content

Commit 6a1f4ab

Browse files
committed
fix(bot): prevent 'debug' from matching 'bug' to stop duplicate comments
1 parent cd0beaf commit 6a1f4ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/auto-fix-bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
if: |
1717
github.event_name == 'issues' &&
1818
github.event.action == 'opened' &&
19-
(contains(github.event.issue.title, 'bug') ||
19+
((startsWith(github.event.issue.title, 'bug') || contains(github.event.issue.title, ' bug')) ||
2020
contains(github.event.issue.title, 'error') ||
2121
contains(github.event.issue.title, 'fix') ||
2222
contains(github.event.issue.title, 'broken'))

0 commit comments

Comments
 (0)