-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a new branch if makePullRequest is true in git config (#4395)
* add new branch flag when commit changes in eventwatcher Signed-off-by: nnnkkk7 <[email protected]> * add createPullRequest flag to event watcher config instead of git config Signed-off-by: nnnkkk7 <[email protected]> * fix test Signed-off-by: nnnkkk7 <[email protected]> * push commit if the branch is new in event watcher Signed-off-by: nnnkkk7 <[email protected]> * fix docs-v0.43.x Signed-off-by: nnnkkk7 <[email protected]> * fix docs Signed-off-by: nnnkkk7 <[email protected]> * replace createPullRequest with makePullRequest Signed-off-by: nnnkkk7 <[email protected]> * renamed getBranchName to makeBranchName Signed-off-by: nnnkkk7 <[email protected]> * remove makePullRequest from EventWatcherEvent Signed-off-by: nnnkkk7 <[email protected]> * retry push commits in execute func Signed-off-by: nnnkkk7 <[email protected]> * fix how to push new branch Signed-off-by: nnnkkk7 <[email protected]> * use map for branchname Signed-off-by: nnnkkk7 <[email protected]> * use branchHandledEvents map Signed-off-by: nnnkkk7 <[email protected]> * use errors.Join Signed-off-by: nnnkkk7 <[email protected]> * remove docs Signed-off-by: nnnkkk7 <[email protected]> * remove handledEvents Signed-off-by: nnnkkk7 <[email protected]> * avoid using '!' Signed-off-by: nnnkkk7 <[email protected]> * rearrange package Signed-off-by: nnnkkk7 <[email protected]> --------- Signed-off-by: nnnkkk7 <[email protected]>
- Loading branch information
Showing
4 changed files
with
106 additions
and
47 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
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