chore: fix auto label
This commit is contained in:
parent
473c2f4ea0
commit
3ff9464954
|
|
@ -63,7 +63,7 @@ ${detail.slice(0, 65300 - temp_com.length)}
|
|||
com_l = com_l.slice(0, 5);
|
||||
}
|
||||
|
||||
if (context.payload.diff_url) {
|
||||
if (!!process.env.PULL_REQUEST) {
|
||||
await github.rest.issues
|
||||
.addLabels({
|
||||
issue_number: number,
|
||||
|
|
|
|||
Loading…
Reference in New Issue