-
Notifications
You must be signed in to change notification settings - Fork 10
32 lines (26 loc) · 1.01 KB
/
update-gear-data.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
# Github actions runner will run this script on a schedule
name: Update Gear Data
on:
schedule:
- cron: '0 0 * * *' # Runs at midnight
jobs:
update-gear-data:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Update Gear Data
run: |
./updater/update-gear-data.sh
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
labels: auto-generated
committer: 'WynntilsBot <[email protected]>'
commit-message: "chore: [auto-generated] Update gear data from upstream"
title: "chore: [auto-generated] Update gear data from upstream"
body: |
Upstream Wynncraft API has been updated with new gear data.
If new field types are introduced, please to not merge this PR until the Wynntils mod has been updated to support these changes.
This PR has been automatically generated.
branch: update-gear-data