Skip to content

Commit

Permalink
Skip CI for draft PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyWillard authored and pearsonca committed Oct 30, 2024
1 parent fee8c3a commit c122427
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/flepicommon-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:
jobs:
tests:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
strategy:
matrix:
R-version: ["4.3.3"]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/gempyor-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ on:
jobs:
tests:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
strategy:
matrix:
python-version: ["3.10", "3.11"]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/inference-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
jobs:
tests:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }}
if: (github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success') && (github.event_name != 'pull_request' || github.event.pull_request.draft == false)
strategy:
matrix:
R-version: ["4.3.3"]
Expand Down

0 comments on commit c122427

Please sign in to comment.