-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from aaronbauman/extended_support
Extend support to arbitrary cli providers
- Loading branch information
Showing
5 changed files
with
73 additions
and
54 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"providers": { | ||
"github": { | ||
"provider": "github", | ||
"exec": ["hub"], | ||
"pr_create": "hub pull-request -m %s", | ||
"pr_list": "hub pr list --format=\",%i %t%n\" --state=open", | ||
"pr_close": "hub api -XPATCH repos/{owner}/{repo}/issues/%d -f state=closed", | ||
"title_pattern": "%#([\\d]+) Update Composer dependencies \\(([0-9-]*)\\)%" | ||
}, | ||
"gitlab": { | ||
"provider": "gitlab", | ||
"exec": ["lab"], | ||
"pr_create": "lab mr create -m %s", | ||
"pr_list": "lab mr list", | ||
"pr_close": "lab mr close %d", | ||
"request_type": "merge request", | ||
"title_pattern": "%#([\\d]+) Update Composer dependencies \\(([0-9-]*)\\)%" | ||
} | ||
} | ||
} |
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