forked from ATTWoWAddon/AllTheThings
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (32 loc) · 1 KB
/
sync_objects.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
37
38
39
40
# This is a workflow to add object names to new objects in enUS
# and sync them to all other locales using Wowhead data
name: Sync objects
# Controls when the action will run.
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
sync_objects:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install aiohttp beautifulsoup4
- name: Sync objects
working-directory: .contrib/.tools/Localization
run: |
python sync_objects.py
git add --all
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
commit-message: Sync localization
title: Sync localization
branch: auto_localization
delete-branch: true