Skip to content

Commit e75be21

Browse files
authored
Merge pull request codefresh-io#13 from nick-codefresh/master
GitHub PR plugin
2 parents fd81e2e + 2175056 commit e75be21

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed

stable/github-pr/README.MD

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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+
- `GITHUB_REPO_OWNER`: name of repo owner
9+
- `GITHUB_REPO_NAME`: name of repo
10+
- `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
11+
- `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.
12+
- `TITLE`: The title of the pull request

stable/github-pr/plugin.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
image: codefresh/github-pr-plugin
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/github-pr-plugin
10+
sources:
11+
- https://github.com/codefresh-io/github-pr-plugin
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: GITHUB_REPO_OWNER
21+
type: required
22+
description: Name of repo owner
23+
- name: GITHUB_REPO_NAME
24+
type: required
25+
description: Name of repo
26+
- name: HEAD
27+
type: required
28+
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
29+
- name: BASE
30+
type: required
31+
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.
32+
- name: TITLE
33+
type: required
34+
description: The title of the pull request

0 commit comments

Comments
 (0)