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