diff options
| author | Aiden Cline <[email protected]> | 2025-12-03 13:10:40 -0600 |
|---|---|---|
| committer | Aiden Cline <[email protected]> | 2025-12-03 13:10:40 -0600 |
| commit | 3181c68cbba64def2b0d10d21e33eaf809df1bad (patch) | |
| tree | 3139e064e996f14d027673b4be7333a7472238dd /.github/workflows | |
| parent | c3c9003dbbcff0c93d77ec37897f787b4311416a (diff) | |
| download | opencode-3181c68cbba64def2b0d10d21e33eaf809df1bad.tar.gz opencode-3181c68cbba64def2b0d10d21e33eaf809df1bad.zip | |
ci: make review only fire on non draft pr creation
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/review.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index 7bee92d10..6e4f02021 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -9,10 +9,11 @@ on: jobs: check-guidelines: if: | - github.event_name == 'pull_request_target' || + (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')) + startsWith(github.event.comment.body, '/review')) runs-on: ubuntu-latest permissions: contents: read |
