1
Fork 0

ci: skip actions on draft pull requests

This commit is contained in:
Tibo De Peuter 2026-03-21 17:29:21 +01:00
parent ff462d867a
commit f8df091984
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
2 changed files with 4 additions and 0 deletions

View file

@ -2,12 +2,14 @@ name: Lint
on:
pull_request:
types: [opened, synchronize, ready_for_review]
branches:
- main
- dev
jobs:
ruff:
if: ${{ !github.event.pull_request.draft }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

View file

@ -2,12 +2,14 @@ name: Test
on:
pull_request:
types: [opened, synchronize, ready_for_review]
branches:
- main
- dev
jobs:
pytest:
if: ${{ !github.event.pull_request.draft }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4