Fix update translations job

This commit is contained in:
Deluan 2023-01-27 10:17:03 -05:00
parent 9f684e5a69
commit 731bd7ee73
1 changed files with 2 additions and 5 deletions

View File

@ -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