-
Notifications
You must be signed in to change notification settings - Fork 317
36 lines (34 loc) · 1 KB
/
questbook-i18n.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Quest Book I18N
on:
push:
branches:
- master
paths:
- config/betterquesting/DefaultQuests/QuestLinesOrder.txt
- config/betterquesting/DefaultQuests/QuestLines/*.json
- config/betterquesting/DefaultQuests/Quests/*/*.json
workflow_dispatch: { }
jobs:
i18n:
name: Generate Quest Book I18N Files
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Generate Quest Book I18N Files
run: python .github/scripts/questbook-i18n.py
- name: Create PR
uses: peter-evans/[email protected]
with:
title: Update Quest Book I18N
body: Automated changes by Quest Book I18N workflow.
commit-message: Update Quest Book I18N
delete-branch: true
branch: quest-book-i18n/patch