From c86521d929c25cd0b8382f37afddfd91e7eab06c Mon Sep 17 00:00:00 2001 From: Yasan Date: Tue, 13 Sep 2022 09:04:21 +0430 Subject: [PATCH] Fix auto-merge conditions --- .github/workflows/crowdin_auto_merge.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/crowdin_auto_merge.yml b/.github/workflows/crowdin_auto_merge.yml index 815ccc1855..b621d345f8 100644 --- a/.github/workflows/crowdin_auto_merge.yml +++ b/.github/workflows/crowdin_auto_merge.yml @@ -5,20 +5,10 @@ on: jobs: - debug: - name: Debug - runs-on: ubuntu-latest - steps: - - run: | - echo ${{ github.event.pull_request.user.login }} - echo ${{ github.event.pull_request.title }} - echo ${{ github.event.pull_request.user.login == 'github-actions' }} - echo ${{ github.event.pull_request.title == 'New Crowdin translations by Github Action' }} - build-debug-apk: name: Build debug APK runs-on: ubuntu-latest - if: github.event.pull_request.user.login == 'github-actions' && github.event.pull_request.title == 'New Crowdin translations by Github Action' + if: github.event.pull_request.user.login == 'github-actions[bot]' && github.event.pull_request.title == 'New Crowdin translations by Github Action' steps: - name: Check out repository uses: actions/checkout@v3