mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
actions: inline if statement.
This commit is contained in:
parent
153fecdb43
commit
6d898cf686
1 changed files with 1 additions and 4 deletions
5
.github/workflows/weblate-merge.yml
vendored
5
.github/workflows/weblate-merge.yml
vendored
|
@ -8,11 +8,8 @@ jobs:
|
||||||
merge:
|
merge:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
# Run only if the PR is from Weblate
|
|
||||||
- name: Check if PR author is weblate
|
|
||||||
if: github.event.pull_request.user.login != 'weblate'
|
|
||||||
run: exit 78
|
|
||||||
- name: AutoMerge Weblate translations
|
- name: AutoMerge Weblate translations
|
||||||
|
if: github.event.pull_request.user.login != 'weblate'
|
||||||
run: gh pr merge --auto --delete-branch --merge "$PR_URL"
|
run: gh pr merge --auto --delete-branch --merge "$PR_URL"
|
||||||
env:
|
env:
|
||||||
PR_URL: ${{github.event.pull_request.html_url}}
|
PR_URL: ${{github.event.pull_request.html_url}}
|
||||||
|
|
Loading…
Reference in a new issue