GeezerVison is showing github.com — chore(ci): skip CI on draft pull requests (#58750) · ogrman/opencode@7ba0e4b
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: .github/workflows/check.yml +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 5 | 5 | branches: [dev] | 6 | 6 | pull_request: | 7 | 7 | branches: [dev] | | 8 | + types: [opened, synchronize, reopened, ready_for_review] | 8 | 9 | workflow_dispatch: | 9 | 10 |
| 10 | 11 | concurrency: | @@ -14,6 +15,7 @@ concurrency: | 14 | 15 | jobs: | 15 | 16 | check: | 16 | 17 | name: typecheck | | 18 | + if: ${{ !github.event.pull_request.draft }} | 17 | 19 | runs-on: blacksmith-4vcpu-ubuntu-2404 | 18 | 20 | steps: | 19 | 21 | - name: Checkout repository | |
Collapse file Copy file name to clipboardExpand all lines: .github/workflows/nix-eval.yml +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 5 | 5 | branches: [dev] | 6 | 6 | pull_request: | 7 | 7 | branches: [dev] | | 8 | + types: [opened, synchronize, reopened, ready_for_review] | 8 | 9 | workflow_dispatch: | 9 | 10 |
| 10 | 11 | concurrency: | @@ -16,6 +17,7 @@ permissions: | 16 | 17 |
| 17 | 18 | jobs: | 18 | 19 | nix-eval: | | 20 | + if: ${{ !github.event.pull_request.draft }} | 19 | 21 | runs-on: blacksmith-4vcpu-ubuntu-2404 | 20 | 22 | timeout-minutes: 15 | 21 | 23 | steps: | |
Collapse file Copy file name to clipboardExpand all lines: .github/workflows/storybook.yml +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 12 | 12 | - "packages/session-ui/**" | 13 | 13 | pull_request: | 14 | 14 | branches: [dev] | | 15 | + types: [opened, synchronize, reopened, ready_for_review] | 15 | 16 | paths: | 16 | 17 | - ".github/workflows/storybook.yml" | 17 | 18 | - "package.json" | @@ -28,6 +29,7 @@ concurrency: | 28 | 29 | jobs: | 29 | 30 | build: | 30 | 31 | name: storybook build | | 32 | + if: ${{ !github.event.pull_request.draft }} | 31 | 33 | runs-on: blacksmith-4vcpu-ubuntu-2404 | 32 | 34 | steps: | 33 | 35 | - name: Checkout repository | |
Collapse file Copy file name to clipboardExpand all lines: .github/workflows/test.yml +5-1Lines changed: 5 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 5 | 5 | branches: | 6 | 6 | - dev | 7 | 7 | pull_request: | | 8 | + types: [opened, synchronize, reopened, ready_for_review] | 8 | 9 | workflow_dispatch: | 9 | 10 |
| 10 | 11 | concurrency: | | 23 | 24 | jobs: | 24 | 25 | affected: | 25 | 26 | name: affected packages | | 27 | + if: ${{ !github.event.pull_request.draft }} | 26 | 28 | runs-on: blacksmith-4vcpu-ubuntu-2404 | 27 | 29 | outputs: | 28 | 30 | e2e: ${{ steps.packages.outputs.app }} | | 55 | 57 |
| 56 | 58 | unit: | 57 | 59 | name: unit (${{ matrix.settings.name }}) | | 60 | + if: ${{ !github.event.pull_request.draft }} | 58 | 61 | strategy: | 59 | 62 | fail-fast: false | 60 | 63 | matrix: | @@ -140,6 +143,7 @@ jobs: | 140 | 143 |
| 141 | 144 | build: | 142 | 145 | name: build (${{ matrix.settings.name }}) | | 146 | + if: ${{ !github.event.pull_request.draft }} | 143 | 147 | strategy: | 144 | 148 | fail-fast: false | 145 | 149 | matrix: | @@ -318,7 +322,7 @@ jobs: | 318 | 322 | e2e: | 319 | 323 | name: e2e (${{ matrix.os }}) | 320 | 324 | needs: [affected, e2e-suite] | 321 | | - if: ${{ !cancelled() }} | | 325 | + if: ${{ !cancelled() && !github.event.pull_request.draft }} | 322 | 326 | strategy: | 323 | 327 | fail-fast: false | 324 | 328 | matrix: | |
|