merge-after-ci: set labels correctly

This commit is contained in:
DavHau
2024-03-13 18:51:50 +07:00
parent be1bd8f252
commit a9dbd92ff3
2 changed files with 2 additions and 3 deletions

View File

@@ -17,8 +17,8 @@ subprocess.run(
"origin", "origin",
"main", "main",
"--assignees", "--assignees",
"clan-bot", ",".join(["clan-bot", *args.reviewers]),
*([*args.reviewers] if args.reviewers else []), *(["--labels", "needs-review"] if not args.no_review else []),
*args.args, *args.args,
] ]
) )

View File

@@ -30,5 +30,4 @@ tea pr create \
--description "$rest" \ --description "$rest" \
--head "$tempRemoteBranch" \ --head "$tempRemoteBranch" \
--base "$targetBranch" \ --base "$targetBranch" \
--labels "needs-review" \
"$@" "$@"