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

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,