vaticle / dependencies

Bazel dependency declarations for build tools reused across @vaticle repositories (only for @vaticle)
Mozilla Public License 2.0
12 stars 23 forks source link

Open PR tool #524

Closed jamesreprise closed 3 months ago

jamesreprise commented 3 months ago

What is the goal of this PR?

We've created a tool that can be used to open a PR on GitHub. Now, programatically creating PRs is possible and convenient.

What are the changes implemented in this PR?

As above.

Example usage

bazel run @vaticle_dependencies//tool/github:open-pr -- \
  --repo=vaticle/typedb \
  --head-branch=development \
  --base-branch=master \
  --title="Release" \
  --body="Replace me" \
  --token=$GITHUB_TOKEN

Defaults

By default, we provide an empty body for the PR and 'vaticle-bot' for the username.

vaticle-bot commented 3 months ago

PR Review Checklist

Do not edit the content of this comment. The PR reviewer should simply update this comment by ticking each review item below, as they get completed.


Trivial Change

Code

Architecture