Skip to content

Commit

Permalink
gh-288: run CI when a draft PR is marked as ready
Browse files Browse the repository at this point in the history
Fixes #288. Currently a PR is never tested the moment it gets
marked as draft. The idea behind not running in draft is to
limit CI use, but we need to ensure everything is ran before
merging to `main`.
  • Loading branch information
paddyroddy committed Sep 27, 2024
1 parent 574f577 commit 938bd18
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ on:
pull_request:
paths:
- glass/**
# ensure the draft PRs are tested when ready
types:
- opened
- ready_for_review
- reopened
- synchronize

concurrency:
# Skip intermediate builds: always.
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ on:
branches:
- main
pull_request:
# ensure the draft PRs are tested when ready
types:
- opened
- ready_for_review
- reopened
- synchronize

concurrency:
# Skip intermediate builds: always.
Expand Down

0 comments on commit 938bd18

Please sign in to comment.