diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c737d5..65b6c7a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,10 +4,12 @@ on: push: branches: [main] pull_request: + types: [opened, synchronize, reopened, ready_for_review] branches: [main] jobs: lint: + if: github.event.pull_request.draft != true runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -17,7 +19,7 @@ jobs: test: # Fork PRs skip this job - if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository + if: github.event_name == 'push' || (github.event.pull_request.head.repo.full_name == github.repository && github.event.pull_request.draft != true) runs-on: ubuntu-latest steps: - uses: actions/checkout@v4