Files
node-minecraft-protocol/.github/workflows/commands.yml
extremeheatandRomain Beaumont ad1f4ca599 Update update-from-minecraft-data.yml workflow (#1426)
* update workflow

* update workflow

* fix git config

* update workflow

* fix token

* wrong wf

* update workflow

* update workflow

* dispatch to mineflayer

* fix

---------

Co-authored-by: Romain Beaumont <romain.rom1@gmail.com>
2025-09-07 10:00:51 +02:00

24 lines
901 B
YAML

name: Repo Commands
on:
issue_comment: # Handle comment commands
types: [created]
pull_request: # Handle renamed PRs
types: [edited]
permissions:
contents: write
jobs:
comment-trigger:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Run command handlers
uses: PrismarineJS/prismarine-repo-actions@master
with:
# NOTE: You must specify a Personal Access Token (PAT) with repo access here. While you can use the default GITHUB_TOKEN, actions taken with it will not trigger other actions, so if you have a CI workflow, commits created by this action will not trigger it.
token: ${{ secrets.PAT_PASSWORD }}
# See `Options` section below for more info on these options
install-command: npm install
/fixlint.fix-command: npm run fix