8000 don't run checkin actions on draft prs (#1734) · forkgitss/wavetermdev-waveterm1@675b2c4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 675b2c4

Browse files
authored
don't run checkin actions on draft prs (wavetermdev#1734)
don't run checkin actions if the pr is in draft
1 parent a05cd2e commit 675b2c4

File tree

4 files changed

+28
-0
lines changed

4 files changed

+28
-0
lines changed

.github/workflows/codeql.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ on:
1616
branches: ["main"]
1717
pull_request:
1818
branches: ["main"]
19+
types:
20+
- opened
21+
- synchronize
22+
- reopened
23+
- edited
24+
- ready_for_review
1925
schedule:
2026
- cron: "36 5 * * 5"
2127

@@ -31,6 +37,7 @@ jobs:
3137
# - https://gh.io/supported-runners-and-hardware-resources
3238
# - https://gh.io/using-larger-runners
3339
# Consider using larger runners for possible analysis time improvements.
40+
if: github.event.pull_request.draft == false
3441
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
3542
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
3643
permissions:

.github/workflows/deploy-docsite.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ on:
1414
pull_request:
1515
branches:
1616
- main
17+
types:
18+
- opened
19+
- synchronize
20+
- reopened
21+
- edited
22+
- ready_for_review
1723
paths:
1824
- "docs/**"
1925
- "storybook/**"
@@ -26,6 +32,7 @@ jobs:
2632
build:
2733
name: Build Docsite
2834
runs-on: ubuntu-latest
35+
if: github.event.pull_request.draft == false
2936
steps:
3037
- uses: actions/checkout@v4
3138
with:

.github/workflows/merge-gatekeeper.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,17 @@ on:
66
branches:
77
- main
88
- master
9+
types:
10+
- opened
11+
- synchronize
12+
- reopened
13+
- edited
14+
- ready_for_review
915

1016
jobs:
1117
merge-gatekeeper:
1218
runs-on: ubuntu-latest
19+
if: github.event.pull_request.draft == false
1320
# Restrict permissions of the GITHUB_TOKEN.
1421
# Docs: https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
1522
permissions:

.github/workflows/testdriver-build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ on:
1818
# - ".prettierrc"
1919
# - ".eslintrc.js"
2020
# - "**/*.md"
21+
types:
22+
- opened
23+
- synchronize
24+
- reopened
25+
- edited
26+
- ready_for_review
2127
schedule:
2228
- cron: 0 21 * * *
2329
workflow_dispatch: null
@@ -34,6 +40,7 @@ jobs:
3440
build_and_upload:
3541
name: Build for TestDriver.ai
3642
runs-on: windows-latest
43+
if: github.event.pull_request.draft == false
3744
steps:
3845
- uses: actions/checkout@v4
3946

0 commit comments

Comments
 (0)
0