mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-24 22:26:29 +09:00
.github: run vouch only on vouch commands
Every issue comment minted the App token, which bypasses the ruleset.
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user