Skip to content

Commit e7b0166

Browse files
committed
DraftのPRでは実行しない
1 parent 89f27dc commit e7b0166

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/test-pull-request.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,19 @@ on:
44
pull_request:
55
branches:
66
- main
7+
types:
8+
- opened
9+
- synchronize
10+
- reopened
11+
- ready_for_review # Draftを解除したとき
712
permissions:
813
contents: read
914

1015
jobs:
1116
test:
1217
runs-on: ubuntu-latest
18+
# Draftでは動作させない
19+
if: github.event.pull_request.draft == false
1320
env:
1421
GRADLE_OPTS: '-Dorg.gradle.daemon=false'
1522
steps:

0 commit comments

Comments
 (0)