mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 05:43:55 +00:00
ci: only maintainer can trigger
This commit is contained in:
parent
bcf740f98a
commit
088ebb967f
4
.github/workflows/review.yml
vendored
4
.github/workflows/review.yml
vendored
@ -1,16 +1,12 @@
|
||||
name: Guidelines Check
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [opened, ready_for_review]
|
||||
issue_comment:
|
||||
types: [created]
|
||||
|
||||
jobs:
|
||||
check-guidelines:
|
||||
if: |
|
||||
(github.event_name == 'pull_request_target' &&
|
||||
github.event.pull_request.draft == false) ||
|
||||
(github.event_name == 'issue_comment' &&
|
||||
github.event.issue.pull_request &&
|
||||
startsWith(github.event.comment.body, '/review'))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user