Files
minecraft-data/.github/workflows/update-helper.yml
extremeheat 68a73b58f5 Add helper bot to update protocol versions (#701)
* add version helper bot

* update helper bot workflow

* use unzip on ubuntu

* check that we downloaded properly

* some debugging

* use 7z on ci

* don't open dupe issues

* sha1 log

* try something

* lint, now push

* update index.js
2023-05-20 14:33:33 +02:00

25 lines
680 B
YAML

name: Update Helper
on:
workflow_dispatch:
schedule:
- cron: "0 */2 * * *"
jobs:
helper:
name: update-checker
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@master
- name: Set up Node.js
uses: actions/setup-node@master
with:
node-version: 16.0.0
- name: Install Github Actions toolkit
run: npm i @actions/github
working-directory: .github/helper-bot
# The env vars contain the relevant trigger information, so we don't need to pass it
- name: Runs helper
run: cd .github/helper-bot && node index.js
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}