Fix auto-merge conditions

This commit is contained in:
Yasan
2022-09-13 09:04:21 +04:30
committed by GitHub
parent 2d38bcfcdd
commit c86521d929

View File

@@ -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