Skip to content

Commit

Permalink
CI, fail draft PR. (#2246)
Browse files Browse the repository at this point in the history
  • Loading branch information
janiversen authored Jul 20, 2024
1 parent dbcb4a4 commit e6e9e18
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@ on:
workflow_dispatch:

jobs:
faildraft:
name: fail draft
if: github.event.pull_request.draft == true
runs-on: ubuntu-latest
steps:
- name: fail draft
run: |
exit 1
testing:
name: ${{ matrix.os }} - ${{ matrix.python }}
if: github.event.pull_request.draft == false
Expand Down

0 comments on commit e6e9e18

Please sign in to comment.