Remove update-base label in all cases (#2467)

This commit is contained in:
YanisBft 2021-06-04 10:12:48 +02:00 committed by GitHub
parent a308aa67e3
commit 3535070889
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,6 @@ jobs:
} else {
await github.pulls.update({ owner, repo, pull_number, base });
await github.issues.createComment({ owner, repo, issue_number, body: '🚀 Target branch has been updated to ' + base });
await github.issues.removeLabel({ owner, repo, issue_number, name: updateLabel });
try {
// Updates the pull request with the latest upstream changes.
@ -45,3 +44,5 @@ jobs:
throw error;
}
}
await github.issues.removeLabel({ owner, repo, issue_number, name: updateLabel });