Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option for specifying extra content in the PR description #96

Closed
lcawl opened this issue Nov 7, 2018 · 2 comments · Fixed by #121
Closed

Add option for specifying extra content in the PR description #96

lcawl opened this issue Nov 7, 2018 · 2 comments · Fixed by #121

Comments

@lcawl
Copy link

lcawl commented Nov 7, 2018

There are some comments that we add to the PR description and they affect the types of checks that are run immediately on the PR. This tool is so fast that I can't get into the backport PRs and add those strings (like "skip ci") before the (unnecessary) tests start running.

@sorenlouv
Copy link
Owner

sorenlouv commented Apr 1, 2019

Possible solution:
Add a field to the config.json where users can specify text they want to add to the PR description:

{
  "accessToken": "...",
  "username": "sqren",
  "prDescription": "skip-ci"
}

@sorenlouv
Copy link
Owner

sorenlouv commented Apr 29, 2019

@lcawl This has been released in version 4.5.2. You can install it with:

yarn global add backport

or

npm install -g backport

Then you can supply the description like:

backport --prDescription="skip-ci"

Or add it to your config file (in ~/.backport/config.json):

{
    "username": "...",
    "accessToken": "...",
    "prDescription": "skip-ci"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants