Skip to content

TTRPG Plugin Watcher #24

TTRPG Plugin Watcher

TTRPG Plugin Watcher #24

Workflow file for this run

name: Plugin Watcher
on:
schedule:
- cron: "0 * * * *"
workflow_dispatch:
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
permissions:
contents: write
jobs:
run-watcher:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 24
- run: node watcher.js
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
- name: Commit known plugins
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git add known.json
git commit -m "Update known plugins" || exit 0
git push