Skip to content

Commit

Permalink
ops: don't run actions on draft PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
kerberizer committed Sep 25, 2024
1 parent eca3f9f commit 4c03f79
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ on: # yamllint disable-line rule:truthy
tags:
- v*.*.*
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
workflow_dispatch:

env:
Expand All @@ -22,6 +27,7 @@ jobs:
test:

runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
strategy:
matrix:
python-version:
Expand Down Expand Up @@ -85,6 +91,7 @@ jobs:
build:

runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
needs: test
permissions:
contents: read
Expand Down

0 comments on commit 4c03f79

Please sign in to comment.