From 6d898cf686ceb337c16c0335fd3ae40b4c7ea5f8 Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Fri, 11 Nov 2022 16:18:23 +0000 Subject: [PATCH] actions: inline if statement. --- .github/workflows/weblate-merge.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/weblate-merge.yml b/.github/workflows/weblate-merge.yml index c9329007..ea8b5d58 100644 --- a/.github/workflows/weblate-merge.yml +++ b/.github/workflows/weblate-merge.yml @@ -8,11 +8,8 @@ jobs: merge: runs-on: ubuntu-latest steps: - # Run only if the PR is from Weblate - - name: Check if PR author is weblate - if: github.event.pull_request.user.login != 'weblate' - run: exit 78 - name: AutoMerge Weblate translations + if: github.event.pull_request.user.login != 'weblate' run: gh pr merge --auto --delete-branch --merge "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}}