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:
|
on:
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
branches:
|
branches:
|
||||||
@ -10,9 +10,9 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
has-translation:
|
has-translation:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.actor != 'github-actions[bot]'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/github-script@v3
|
- uses: actions/github-script@v3
|
||||||
if: github.event.pull_request.user.login != "github-actions[bot]"
|
|
||||||
with:
|
with:
|
||||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||||
script: |
|
script: |
|
||||||
|
Reference in New Issue
Block a user