Skip to content

Commit 949353a

Browse files
committed
feat: just backport-pr
Using https://github.com/sqren/backport Requires creating an access token and putting it in a local configuration file. I think it uses the same code our backport bot is using, but will execute it locally using `npx`.
1 parent 5209433 commit 949353a

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.backportrc.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
// Required
3+
"repoOwner": "fedimint",
4+
"repoName": "fedimint",
5+
6+
// the branches available to backport to
7+
"targetBranchChoices": ["releases/v0.1", "releases/v0.2"],
8+
9+
// Optional: automatically merge backport PR
10+
"autoMerge": false,
11+
"autoMergeMethod": "merge"
12+
}

justfile.fedimint.just

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,7 @@ tmuxinator:
5959
# exit tmuxinator session
6060
exit-tmuxinator:
6161
tmux kill-session -t fedimint-dev
62+
63+
# backport a PR
64+
backport-pr pr:
65+
nix shell nixpkgs#nodejs -c npx backport --pr-filter {{pr}}

0 commit comments

Comments
 (0)