Skip to content

Commit

Permalink
fix: make CI on PRs only run if not in draft mode
Browse files Browse the repository at this point in the history
  • Loading branch information
iWas-Coder committed Sep 5, 2024
1 parent 29b6637 commit cf39577
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ on:
- '.github/workflows/ci.yaml'
pull_request:
branches: [master]
types: [opened, synchronize]
types:
- opened
- synchronize
- ready_for_review
paths-ignore:
- '.github/**'
- 'CITATION.cff'
Expand All @@ -28,6 +31,7 @@ jobs:
build-type: [Debug, Release]
fail-fast: false
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
steps:
- name: checkout-repo
uses: actions/checkout@v4
Expand Down

0 comments on commit cf39577

Please sign in to comment.