forked from googleapis/release-please
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: draft-pull-requests config (googleapis#2241)
I discovered this issue while using `release-please-action` which builds a config via `Manifest.fromManifest`. In this function the `draftPullRequest` setting from the config from the config defaults was not considered when merging with the package specific configs. As a result, defining this at the top level of the config had no impact. Integration with the action was tested via a fork of the `release-please-action` which was run on a test repo[3] the results can be seen at[4] Fixes: googleapis#1791 [1] https://github.com/google-github-actions/release-please-action/blob/a37ac6e4f6449ce8b3f7607e4d97d0146028dc0b/src/index.ts#L108 [2] matthewhughes934/release-please-action@07de5f3 [3] https://github.com/matthewhughes934/release-please-test/commit/c55af6660b7e67974ed4d9924e4a378c3ab01a7c [4] https://github.com/matthewhughes934/release-please-test/pull/10 Co-authored-by: Jeff Ching <[email protected]>
- Loading branch information
1 parent
18c4571
commit 7028527
Showing
3 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"draft-pull-request": true, | ||
"packages": { | ||
".": {}, | ||
"node-packages": { | ||
"draft-pull-request": false | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters