Skip to content

erlinis/pr-number-replacer

Repository files navigation

pr-number-replacer

A GitHub App built with Probot to replace the PR number within the pull request description

Usage

Add the placeholder ::pr_number:: inside the PR description when creating it. Example:

 PR #::pr_number::

 Adds new registration flow. 
 [Test it here!](https://my-server@p::pr_number::.tlservers.com/) - PR# 7

Right after hitting the [Create Pull Request] button the bot will updated the PR description with the proper PR number.

PR #123

 Adds new registration flow. 
 [Test it here!](https://my-server@p123.tlservers.com/) - PR# 7

Setup

# Install dependencies
yarn install

# Run the bot
yarn start
# Run test
yarn test

Contributing

If you have suggestions for how pr-number-replacer could be improved, or want to report a bug, open an issue! We'd love all and any contributions.

For more, check out the Contributing Guide.

License

ISC © 2019 Erlinis Quintana erlinis.quintana@gmail.com

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published