File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ async function* iterateIssues(octokit, params) {
2222 octokit . rest . issues . listForRepo ,
2323 {
2424 ...params ,
25+ labels : [ "feature" ] ,
2526 per_page : 100 ,
2627 } ,
2728 ) ) {
@@ -105,7 +106,6 @@ async function update() {
105106 const params = {
106107 owner : "web-platform-dx" ,
107108 repo : "developer-signals" ,
108- labels : [ "feature" ]
109109 } ;
110110
111111 // Iterate existing issues and create a map from web-features ID to
@@ -181,6 +181,7 @@ async function update() {
181181 issue_number : issue . number ,
182182 title,
183183 body,
184+ // Labels are not updated to avoid removing labels added manually.
184185 } ) ;
185186 } else {
186187 console . log ( `Issue for ${ id } is up-to-date.` ) ;
@@ -196,6 +197,7 @@ async function update() {
196197 ...params ,
197198 title,
198199 body,
200+ labels : [ "feature" ] ,
199201 } ) ;
200202 }
201203 }
You can’t perform that action at this time.
0 commit comments