From 9c487ffc52cf1112770c6153f2bd15507dccfebe Mon Sep 17 00:00:00 2001 From: Lala Sabathil Date: Tue, 13 Aug 2024 17:03:54 +0200 Subject: [PATCH] [ci skip] chore(actions): delete branch automatically --- .github/workflows/docs-localization-download.yml | 2 +- .github/workflows/version-updates.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs-localization-download.yml b/.github/workflows/docs-localization-download.yml index d1bcee40de..38408ca759 100644 --- a/.github/workflows/docs-localization-download.yml +++ b/.github/workflows/docs-localization-download.yml @@ -102,6 +102,6 @@ jobs: - run: gh pr review --approve ${{ needs.download.outputs.pr_id }} -b "auto-approval for localization sync :3" env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - - run: gh pr merge --auto --squash ${{ needs.download.outputs.pr_id }} + - run: gh pr merge --auto -d --squash ${{ needs.download.outputs.pr_id }} env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file diff --git a/.github/workflows/version-updates.yml b/.github/workflows/version-updates.yml index 45e69dd885..65052c96b2 100644 --- a/.github/workflows/version-updates.yml +++ b/.github/workflows/version-updates.yml @@ -16,7 +16,7 @@ jobs: env: PR_URL: ${{github.event.pull_request.html_url}} GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - - run: gh pr merge --auto --squash "$PR_URL" + - run: gh pr merge --auto -d --squash "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}} GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}