Skip to content

Commit 280d020

Browse files
added github pr plugin
1 parent 00583cd commit 280d020

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

incubator/github-pr/README.MD

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# GitHub Pull Request Codefresh Plugin
2+
3+
Creates a new pull request in GitHub
4+
5+
## Environment Variables
6+
7+
- `GITHUB_TOKEN`: token for access to GitHub
8+
- `HEAD`: The name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace head with a user like this: username:branch
9+
- `BASE`: The name of the branch you want the changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository.
10+
- `TITLE`: The title of the pull request

incubator/github-pr/plugin.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
image: codefresh/github-pull-request
2+
tag: master
3+
version: 0.1.0
4+
description: Creates GitHub pull request
5+
keywords:
6+
- docker
7+
- github
8+
- pull-request
9+
home: https://github.com/codefresh-io/cf-github-pull-request
10+
sources:
11+
- https://github.com/codefresh-io/cf-github-pull-request
12+
maintainers: # (optional)
13+
- name: Nick Sakovich
14+
15+
icon: https://assets-cdn.github.com/images/modules/logos_page/GitHub-Mark.png
16+
envs:
17+
- name: GITHUB_TOKEN
18+
type: required
19+
description: Token for access to GitHub
20+
- name: HEAD
21+
type: required
22+
description: The name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace head with a user like this: username:branch
23+
- name: BASE
24+
type: required
25+
description: The name of the branch you want the changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository.
26+
- name: TITLE
27+
type: required
28+
description: The title of the pull request

0 commit comments

Comments
 (0)