fix: update catch translations actions (#40705)
* fix: update catch translations actions * Update .github/workflows/no-prs-to-translation.yml
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
2c190c5fff
commit
d3149dc9ca
4
.github/workflows/no-prs-to-translation.yml
vendored
4
.github/workflows/no-prs-to-translation.yml
vendored
@ -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: |
|
||||
|
Reference in New Issue
Block a user