From cd05e7bb50c4ceea336b1599a8560ce5e9a9405c Mon Sep 17 00:00:00 2001 From: Francesco Novy Date: Mon, 9 Sep 2024 13:19:52 +0200 Subject: [PATCH] handle convert to draft --- .github/workflows/project-automation.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/project-automation.yml b/.github/workflows/project-automation.yml index 7b1bc7d95f32..c2f95d57895d 100644 --- a/.github/workflows/project-automation.yml +++ b/.github/workflows/project-automation.yml @@ -6,12 +6,13 @@ on: - opened - reopened - ready_for_review + - converted_to_draft jobs: # When a PR is a draft, it should go into "In Progress" mark_as_in_progress: if: | - (github.event.action == 'opened' || github.event.action == 'reopened') + (github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'converted_to_draft') && github.event.pull_request.draft == true runs-on: ubuntu-latest steps: