Skip to content

Commit

Permalink
Configure to skip CI on draft PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
jmert committed Mar 24, 2022
1 parent 2e467aa commit 089c595
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ concurrency:

jobs:
test:
if: "!contains(github.event.head_commit.message, 'skip ci')"
if: |
github.event.pull_request.draft == false &&
!contains(github.event.head_commit.message, 'skip ci')
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
strategy:
Expand Down Expand Up @@ -58,6 +60,8 @@ jobs:
with:
file: lcov.info
docs:
if: |
github.event.pull_request.draft == false
name: Documentation
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 089c595

Please sign in to comment.