Skip to content

Update games.json

Update games.json #1

name: Update games.json
on:
workflow_dispatch:
schedule:
- cron: "0 2 * * *"
permissions:
contents: write
jobs:
update-games:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Run update script
run: |
node updater.mjs
- name: Commit JSON
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Update releases and anticheat file hashes"
file_pattern: "games.json"