Skip to content

Commit

Permalink
ci: Fix release-please not creating draft PRs
Browse files Browse the repository at this point in the history
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
#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.
  • Loading branch information
aborgna-q authored May 21, 2024
1 parent 52fcb9d commit 78365dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -12,7 +11,8 @@
"package-name": "hugr",
"include-component-in-tag": true,
"draft": false,
"prerelease": false
"prerelease": false,
"draft-pull-request": true
}
},
"changelog-sections": [
Expand Down

0 comments on commit 78365dd

Please sign in to comment.