From b3d44c90d149ffc4d5a3a08676bbc1e2a659e5d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agust=C3=ADn=20Borgna?= <121866228+aborgna-q@users.noreply.github.com> Date: Tue, 21 May 2024 12:34:57 +0100 Subject: [PATCH] ci: Fix release-please not creating draft PRs (#1093) This setting should make release-please create it's PRs as draft requests (to avoid annoying reviewers unnecessarily), but it doesn't seem to have worked https://github.com/CQCL/hugr/pull/1092 The config json schema seemed to validate this as a global option, but it seems the value is not picked from there :/ This change moves the "use a draft PR" option to the project-specific section. --- release-please-config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release-please-config.json b/release-please-config.json index a5d9f907b..73be2530f 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -3,7 +3,6 @@ "include-component-in-tag": true, "bump-minor-pre-major": true, "bump-patch-for-minor-pre-major": true, - "draft-pull-request": true, "initial-version": "0.0.0", "packages": { "hugr-py": { @@ -12,7 +11,8 @@ "package-name": "hugr", "include-component-in-tag": true, "draft": false, - "prerelease": false + "prerelease": false, + "draft-pull-request": true } }, "changelog-sections": [