Fix update translations job
This commit is contained in:
parent
9f684e5a69
commit
731bd7ee73
|
@ -4,7 +4,7 @@ on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 10 * * *'
|
- cron: '0 10 * * *'
|
||||||
jobs:
|
jobs:
|
||||||
update-dep:
|
update-translations:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -14,13 +14,10 @@ jobs:
|
||||||
POEDITOR_APIKEY: ${{ secrets.POEDITOR_APIKEY }}
|
POEDITOR_APIKEY: ${{ secrets.POEDITOR_APIKEY }}
|
||||||
run: |
|
run: |
|
||||||
./update-translations.sh
|
./update-translations.sh
|
||||||
npm install
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v4
|
uses: peter-evans/create-pull-request@v4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.PAT }}
|
token: ${{ secrets.PAT }}
|
||||||
commit-message: Update translations
|
commit-message: Update translations
|
||||||
title: Update translations
|
title: Update translations from POEditor
|
||||||
body: |
|
|
||||||
- Update translations with latest from POEditor
|
|
||||||
branch: update-translations
|
branch: update-translations
|
||||||
|
|
Loading…
Reference in New Issue