Update Ingredient Data #8486
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Github actions runner will run this script on a schedule | |
name: Update Ingredient Data | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 * * * *' # Runs every hour | |
jobs: | |
update-gear-data: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Update Ingredient Data | |
run: | | |
chmod +x ./Generators/update_ingredient_data.sh | |
./Generators/update_ingredient_data.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 ingredient data from upstream" | |
title: "chore: [auto-generated] Update ingredient data from upstream" | |
body: | | |
Upstream Wynncraft API has been updated with new ingredient 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-ingredient-data |