From d3149dc9ca003ed6e01ffc8089e178d77be386e2 Mon Sep 17 00:00:00 2001 From: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com> Date: Fri, 15 Jan 2021 18:58:01 +0530 Subject: [PATCH] fix: update catch translations actions (#40705) * fix: update catch translations actions * Update .github/workflows/no-prs-to-translation.yml --- .github/workflows/no-prs-to-translation.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/no-prs-to-translation.yml b/.github/workflows/no-prs-to-translation.yml index be7cf957aa..012af4c09a 100644 --- a/.github/workflows/no-prs-to-translation.yml +++ b/.github/workflows/no-prs-to-translation.yml @@ -1,4 +1,4 @@ -name: 'No changing translated files on GitHub' +name: No translate on GitHub on: pull_request_target: branches: @@ -10,9 +10,9 @@ on: jobs: has-translation: runs-on: ubuntu-latest + if: github.actor != 'github-actions[bot]' steps: - uses: actions/github-script@v3 - if: github.event.pull_request.user.login != "github-actions[bot]" with: github-token: ${{secrets.GITHUB_TOKEN}} script: |