File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ It will also search for pull requests that target release branches and remove
2626any ` backport/* ` labels from them.
2727
2828It will also make sure any pull requests that have ` ## :warning: BREAKING ` in
29- their description have the ` kind /breaking` label.
29+ their description have the ` pr /breaking` label.
3030
3131### Merge queue synchronization
3232
Original file line number Diff line number Diff line change @@ -94,12 +94,12 @@ export const fetchUnmergedClosedWithMilestone = async (
9494 return json ;
9595} ;
9696
97- // returns a list of breaking PRs that don't have the label kind /breaking
97+ // returns a list of breaking PRs that don't have the label pr /breaking
9898export const fetchBreakingWithoutLabel = async ( ) => {
9999 const response = await fetch (
100100 `${ GITHUB_API } /search/issues?q=` +
101101 encodeURIComponent (
102- `is:pr "## :warning: BREAKING" -label:kind /breaking repo:go-gitea/gitea` ,
102+ `is:pr "## :warning: BREAKING" -label:pr /breaking repo:go-gitea/gitea` ,
103103 ) ,
104104 { headers : HEADERS } ,
105105 ) ;
Original file line number Diff line number Diff line change @@ -28,11 +28,11 @@ const maintain = async () => {
2828 ] ) ;
2929} ;
3030
31- // add kind /breaking to all breaking PRs that don't have it
31+ // add pr /breaking to all breaking PRs that don't have it
3232const addKindBreakingToBreakingPrs = async ( ) => {
3333 const breakingPrs = await fetchBreakingWithoutLabel ( ) ;
3434 return Promise . all ( breakingPrs . items . map ( async ( pr : { number : number } ) => {
35- await addLabels ( pr . number , [ "kind /breaking" ] ) ;
35+ await addLabels ( pr . number , [ "pr /breaking" ] ) ;
3636 } ) ) ;
3737} ;
3838
You can’t perform that action at this time.
0 commit comments