From 0ff66252955c452b8d7a9d719c9ec24062b0f176 Mon Sep 17 00:00:00 2001 From: Alexander Nitsche Date: Sat, 1 Apr 2023 12:44:55 +0200 Subject: [PATCH] Allow GitHub Action "Update languages" workflow to bypass reviews Normally, a PR requires manual review before being merged into master. Skip this to enable a fully automated workflow. --- .github/workflows/languages.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/languages.yml b/.github/workflows/languages.yml index 5c68fe0..e53b2e7 100644 --- a/.github/workflows/languages.yml +++ b/.github/workflows/languages.yml @@ -76,7 +76,8 @@ jobs: gh pr create --fill --base ${baseBranch} # Avoid occasional GitHub error "Pull request Pull request is in clean status". sleep 1s - gh pr merge --auto --rebase --delete-branch + # Skip the check for manual revisions in the merge process. + gh pr merge --admin --rebase --delete-branch - name: Release base branch (if base branch was also previously released) if: ${{ steps.update-language-files.outputs.CHANGED_LANGUAGES && steps.update-language-files.outputs.RELEASED_BASE_BRANCH == 1 }}