diff --git a/.github/workflows/no-prs-to-translation.yml b/.github/workflows/no-prs-to-translation.yml index be7cf957aa8..012af4c09a7 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: |