mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Add support for skip-changelog label in script
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
cf8ca6d77b
commit
0fd558d030
@ -133,7 +133,8 @@ const relaventPrsQuery = await Promise.all(
|
|||||||
);
|
);
|
||||||
const relaventPrs = relaventPrsQuery
|
const relaventPrs = relaventPrsQuery
|
||||||
.filter(query => query.stdout)
|
.filter(query => query.stdout)
|
||||||
.map(query => query.pr);
|
.map(query => query.pr)
|
||||||
|
.filter(pr => pr.labels.every(label => label.name !== "skip-changelog"));
|
||||||
|
|
||||||
const enhancementPrLabelName = "enhancement";
|
const enhancementPrLabelName = "enhancement";
|
||||||
const bugfixPrLabelName = "bug";
|
const bugfixPrLabelName = "bug";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user