mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
ci: only maintainer can trigger
This commit is contained in:
parent
bcf740f98a
commit
088ebb967f
1 changed files with 0 additions and 4 deletions
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…
Add table
Add a link
Reference in a new issue