pcsx2/.github/workflows/cron_update_base_translatio...

29 lines
900 B
YAML
Raw Normal View History

2023-07-17 11:21:30 +00:00
name: 🌎 Update Base Translation
on:
schedule:
- cron: "0 0 * * *" # Every day at 12am UTC.
workflow_dispatch: # As well as manually.
jobs:
update:
if: github.repository == 'PCSX2/pcsx2'
name: "Update Base Translation"
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
2023-07-17 11:21:30 +00:00
- name: Update Base Translation
run: ./.github/workflows/scripts/common/update_base_translation.sh
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
2023-07-17 11:21:30 +00:00
with:
title: "Qt: Update Base Translation"
commit-message: "Qt: Update Base Translation"
2023-07-17 11:21:30 +00:00
committer: "PCSX2 Bot <PCSX2Bot@users.noreply.github.com>"
author: "PCSX2 Bot <PCSX2Bot@users.noreply.github.com>"
body: "Daily update of base translation sources."
branch: update-base-translation
delete-branch: true