Skip to content

Update urls.json

Update urls.json #152

Workflow file for this run

# Github actions runner will run this script on a schedule
name: Update urls.json
on:
workflow_dispatch:
schedule:
- cron: '0 * * * *' # Runs every hour
jobs:
update-urls:
runs-on: ubuntu-latest
steps:
- name: Check out source code
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
token: ${{ secrets.PRIVATE_TOKEN }}
ref: ${{ github.head_ref }}
- name: Update Urls
run: |
wget -O common/src/main/resources/assets/wynntils/urls.json "https://raw.githubusercontent.com/Wynntils/Static-Storage/main/Data-Storage/urls.json"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
labels: auto-generated
committer: 'WynntilsBot <[email protected]>'
commit-message: "chore: [auto-generated] Update urls.json [ci skip]"
title: "chore: [auto-generated] Update urls.json [ci skip]"
body: |
The URL list on [Static-Storage](https://github.com/Wynntils/Static-Storage/main/Data-Storage/urls.json) has changed.
This should be incorporated into the next release of Wynntils.
This PR has been automatically generated.
branch: auto-update-urls