Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .changeset/quiet-draft-pr-checks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
---

Skip PR checks while pull requests are drafts.
10 changes: 9 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: PR Checks
on: [pull_request]
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]

jobs:
commit-lint:
if: ${{ !github.event.pull_request.draft }}
runs-on: ubuntu-latest
concurrency:
group: ${{ github.ref }}-commit-lint
Expand All @@ -12,6 +15,7 @@ jobs:
- uses: actions/checkout@v4
- uses: wagoid/commitlint-github-action@v5
lint:
if: ${{ !github.event.pull_request.draft }}
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -38,6 +42,7 @@ jobs:
- name: Syncpack
run: pnpm sp lint
build:
if: ${{ !github.event.pull_request.draft }}
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down Expand Up @@ -65,6 +70,7 @@ jobs:
# run: pnpm attw:all

test-packages:
if: ${{ !github.event.pull_request.draft }}
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down Expand Up @@ -110,6 +116,7 @@ jobs:
run: lerna run test --scope "${{ steps.scope.outputs.scope }}"

postgres-integration:
if: ${{ !github.event.pull_request.draft }}
runs-on: ubuntu-latest
name: PostgreSQL Integration Tests
concurrency:
Expand Down Expand Up @@ -174,6 +181,7 @@ jobs:
DATABASE_URL: postgresql://test:test@localhost:5432/voltagent_test

e2e-tests:
if: ${{ !github.event.pull_request.draft }}
runs-on: ubuntu-latest
name: E2E Tests
concurrency:
Expand Down
Loading