diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 3d16a5fa2b..6275e61f5a 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -32,18 +32,6 @@ jobs: label_pattern: "^ci:backport ([^ ]+)$" github_token: ${{ steps.app-token.outputs.token }} - - name: Create failed backport label - if: ${{ steps.backport.outputs.was_successful == 'false' }} - uses: actions/github-script@v9 - with: - script: | - github.rest.issues.addLabels({ - issue_number: context.issue.number, - owner: context.repo.owner, - repo: context.repo.repo, - labels: ['needs:backport'] - }) - - name: Enable automerge if: ${{ steps.backport.outputs.was_successful == 'true' }} env: