From 63be9cd8f64a4915c16d45b8f67b8bfbe4879906 Mon Sep 17 00:00:00 2001 From: rom1504 Date: Mon, 30 Mar 2026 01:04:16 +0000 Subject: [PATCH] Add repo commands workflow Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/commands.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/commands.yml diff --git a/.github/workflows/commands.yml b/.github/workflows/commands.yml new file mode 100644 index 0000000..7fa087b --- /dev/null +++ b/.github/workflows/commands.yml @@ -0,0 +1,22 @@ +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: + token: ${{ secrets.PAT_PASSWORD }} + install-command: npm install + /fixlint.fix-command: npm run fix