From 938bd18ee1cbafbe463880c221c12cb64e0a2fa6 Mon Sep 17 00:00:00 2001 From: "Patrick J. Roddy" Date: Fri, 27 Sep 2024 13:49:11 +0100 Subject: [PATCH] gh-288: run CI when a draft PR is marked as ready 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`. --- .github/workflows/examples.yml | 6 ++++++ .github/workflows/test.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index aa23b4c7..227b9d07 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -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. diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4d54a41e..7486091c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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.