mirror of
https://github.com/anxdpanic/plugin.video.youtube.git
synced 2025-12-05 18:20:41 -08:00
Update failing close-translation-prs workflow
- Permissions for GITHUB_TOKEN is read only for PRs for forks from non-maintainers/collaborators - Run workflow in context of PR base
This commit is contained in:
parent
86a99e59cf
commit
fdfc943b45
1 changed files with 2 additions and 3 deletions
5
.github/workflows/close-translation-prs.yml
vendored
5
.github/workflows/close-translation-prs.yml
vendored
|
|
@ -1,7 +1,7 @@
|
|||
name: Close Translation Pull Requests
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
branches: [ master, main, dev ]
|
||||
|
||||
jobs:
|
||||
|
|
@ -42,11 +42,10 @@ jobs:
|
|||
echo ::set-output name=close::${CLOSE}
|
||||
|
||||
- name: Comment on the PR
|
||||
uses: mshick/add-pr-comment@v1
|
||||
uses: mshick/add-pr-comment@v2
|
||||
if: ${{ steps.check.outputs.close }}
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
repo-token-user-login: 'github-actions[bot]'
|
||||
allow-repeats: true
|
||||
message: |
|
||||
A modified strings.po file was detected.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue