[Feature request] Able to ignore bots for posting comments/tagging issues
Hello,
In most of my repository, I have dependabot enabled (with auto-merge after test passes), a lot of the lib get updated quite a lot and I end up with a lot PR relating to dependencies update.
When it's time to do a release, semantic-release/github will go and post a comments on all those PR... This spam me aquite a lot. I love the feature of posting comments (especially for human made PR or Issue), but can we disable it for bots ?
Having a blacklist of users would be great !
Yes, please!
Formerly, I could rely on GitHub Notifications to inform me when another human needed action from me: they wanted a review; they had feedback; they opened a bug; etc.
Currently I work in an organization that posts comments to PRs during GitHub Actions workflows, and also has bots that post comments (and they even @ me).
I need a way to ignore the "bot spam" so that I can once again be responsive to humans who need me.
And/or, GitHub needs to provide a place other than in comments for bots to record high-volume information. (Annotations and checks are not sufficient for the voluminous output that our SSAE-16 compliance requires.)
When https://github.com/semantic-release/github/pull/874/ merges, you will have the ability to configure this using the property successCommentCondition as stated in this comment https://github.com/semantic-release/github/pull/874/#issuecomment-2292206401
successCommentCondition: "<% return !issue.user || issue.user.type !== 'Bot'; %>" // This adds comment/label to all issues (regardless of user) and pull request created by users (ignoring bots)
😉
When #874 merges, you will have the ability to configure this using the property
successCommentConditionas stated in this comment #874successCommentCondition: "<% return !issue.user || issue.user.type !== 'Bot'; %>" // This adds comment/label to all issues (regardless of user) and pull request created by users (ignoring bots)😉
A quick update on this: Now you can target and ignore both issues and PRs created by bot by simply setting your successCommentCondition
successCommentCondition: "<% return issue.user.type !== 'Bot'; %>"
:tada: This issue has been resolved in version 10.3.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket: