Skip to content

Commit

Permalink
don't bother running the Lint and Test workflow until the PR is promo…
Browse files Browse the repository at this point in the history
…ted from 'draft' status
  • Loading branch information
alecglen committed Aug 11, 2024
1 parent 49cccd9 commit bcfffc9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ on:
branches: [ "main" ]
pull_request:
branches: [ "main", "v*" ]
types: [ opened, synchronize, reopened, ready_for_review ]

jobs:
build:

if: github.event.pull_request.draft == false
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit bcfffc9

Please sign in to comment.