ci: skip test jobs for draft pull requests

This commit is contained in:
vorotamoroz committed 2026-10-19 10:16:42 +00:00
1 parent f0ea5cb3a0
commit 30adf842eb
4 files changed
+13 -1

No files matched your search

+4
View File
@@ -44,6 +44,7 @@ on:
- '.github/workflows/cli-docker.yml'
- '.github/workflows/unit-ci.yml'
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- 'manifest.json'
- 'updates.md'
@@ -86,6 +87,7 @@ permissions:
jobs:
setup-tools:
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }}
name: Self-hosted setup tools
runs-on: ubuntu-latest
timeout-minutes: 15
@@ -134,6 +136,7 @@ jobs:
run: npm run test:docker-couchdb:stop || true
unit-test:
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }}
name: Unit Tests
runs-on: ubuntu-latest
timeout-minutes: 30
@@ -173,6 +176,7 @@ jobs:
path: coverage/**
integration-test:
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }}
name: Integration Tests
runs-on: ubuntu-latest
timeout-minutes: 30