chore: fix auto label

This commit is contained in:
Tony 2022-05-27 09:55:46 +00:00 committed by GitHub
parent d719977c30
commit dd31298533
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.pull_request) {
if (context.payload.diff_url) {
await github.rest.issues
.addLabels({
issue_number: number,