-
Notifications
You must be signed in to change notification settings - Fork 10
34 lines (29 loc) · 1.07 KB
/
update_services.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
# Github actions runner will run this script on a schedule
name: Update Services
on:
workflow_dispatch:
schedule:
- cron: '0 * * * *' # Runs every hour
jobs:
update-services-data:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Update Services Data
run: |
chmod +x ./Generators/extract_services.sh
./Generators/extract_services.sh
- name: Create Pull Request
uses: peter-evans/[email protected]
with:
token: ${{ secrets.PRIVATE_TOKEN }}
labels: auto-generated
committer: 'WynntilsBot <[email protected]>'
author: 'WynntilsBot <[email protected]>'
commit-message: "chore: [auto-generated] Update services data from upstream"
title: "chore: [auto-generated] Update services data from upstream"
body: |
Upstream Wynncraft API has been updated with new gear data.
This PR has been automatically generated.
branch: update-services-data