mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-26 04:16:18 +00:00
* Update update_translation.yml * Update update_translation.yml * Update update_translation.yml
30 lines
918 B
YAML
30 lines
918 B
YAML
name: Update Translation
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * *" # Every day at 12am UTC.
|
|
workflow_dispatch: # As well as manually.
|
|
|
|
jobs:
|
|
update:
|
|
if: github.repository == 'shadps4-emu/shadPS4'
|
|
name: "Update Translation"
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set execution permissions for the script
|
|
run: chmod +x ./.github/workflows/scripts/update_translation.sh
|
|
|
|
- name: Update Base Translation
|
|
run: ./.github/workflows/scripts/update_translation.sh
|
|
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@v7
|
|
with:
|
|
token: ${{ secrets.SHADPS4_TOKEN_REPO }}
|
|
title: "Qt GUI: Update Translation"
|
|
commit-message: "[ci skip] Qt GUI: Update Translation."
|
|
body: "Daily update of translation sources."
|
|
branch: update-translation
|
|
delete-branch: true
|