Skip to content

fix: add label(s) without success comment if successComment is false #532

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

june21x
Copy link

@june21x june21x commented Jul 31, 2022

Currently the successComment and releasedLabels behaviour are not decoupled.
My team is currently using this and wish to label each released issue with latest release version, so that we could filter out issues based on release version on the labels when working with GitHub's Project V2 automation workflow.

However, the successComment on multiple issues will trigger a lot of emails and GitHub Teams App notifications, which we would like to turn off to avoid annoying notification spamming.

This PR removes the coupling between successComment and releasedLabels, so that user could feel free to add labels without the bot comments.

close #421

@june21x
Copy link
Author

june21x commented Aug 2, 2022

@gr2m Please review

Copy link
Member

@gr2m gr2m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you please add a test that verifies the new behavior? Otherwise we risk a future regression

@june21x june21x closed this by deleting the head repository Sep 12, 2022
@june21x
Copy link
Author

june21x commented Sep 12, 2022

thanks for the review @zigang93 @gr2m, I will create another clean PR for this (with updated test) soon since I noticed that I didn't follow the current Prettier rule and there were also irrelevant changes in package.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow disabling successComment but adding releasedLabels
3 participants