-
Notifications
You must be signed in to change notification settings - Fork 7
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
Adds label ''status: included-in-next-release" by default #33
Comments
Looks like this is the culprit. github-actions/communicate-on-pull-request-released/action.yml Lines 11 to 13 in d0c340c
Should I just pass in nothing to this parameter? Maybe pr-label-to-add: ''
|
Hello @benwinding 👋 Unfortunately, there's no way to skip adding the label for now. If you set
However, I think that making adding / removing labels optional for this action could be a great addition. The implementation should be fairly simple - we'd need to check if a label to add has any value: // main.ts
export async function run() {
...
const labelToAdd = core.getInput('pr-label-to-add');
if (labelToAdd) {
await addLabels(client, prNumber, [labelToAdd]);
}
... We could apply similar logic for a Would you like to give the implementation a try? 😊 |
Hi @mollyIV, Thanks for getting back to me, yes that sounds like a reasonable approach.
How should I go about trying that implementation? Should I fork this repo and try it like that? Cheers, |
Yes, forking and then creating a PR to this repository would be the way to go. |
Hey guys,
It's weird this seems to the label
status: included-in-next-release
to my PR by default. How do I prevent that? (it's not applicable to me)Details:
The PR:
benwinding/firecache#2
The run
https://github.com/benwinding/firecache/runs/593964258
Looks like this is where the defaults are added?
How can I stop that?
Thanks for open-sourcing your project, works really well 👌
Cheers,
Ben
The text was updated successfully, but these errors were encountered: