chore: fix auto label

This commit is contained in:
Tony 2022-05-28 02:51:42 +08:00 committed by GitHub
parent 473c2f4ea0
commit 3ff9464954
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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,