.github: run vouch only on vouch commands

Every issue comment minted the App token, which bypasses the ruleset.
This commit is contained in:
Kristoffer Dalby committed 2026-11-20 19:47:15 +01:00
1 parent 712bd74017
commit f21f507de2
1 file changed
+5
@@ -13,6 +13,11 @@ concurrency:
jobs:
manage:
# Any comment fires this; only commands should mint the App token.
if: >-
contains(github.event.comment.body, '!vouch') ||
contains(github.event.comment.body, '!denounce') ||
contains(github.event.comment.body, '!unvouch')
runs-on: ubuntu-latest
steps:
# The bot App's token, not GITHUB_TOKEN: the App is the ruleset bypass