Skip to content

Commit c99d141

Browse files
committed
Add reviewer input to bump-gitstream-core workflow and update brace-expansion versions
1 parent 73d34e0 commit c99d141

File tree

2 files changed

+37
-31
lines changed

2 files changed

+37
-31
lines changed

.github/workflows/bump-gitstream-core.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ on:
2121
required: false
2222
type: boolean
2323
default: true
24+
reviewer:
25+
description: GitHub username to assign as reviewer
26+
required: false
2427

2528
jobs:
2629
publish_pr:
@@ -34,12 +37,18 @@ jobs:
3437
echo "VERSION=${{ inputs.version }}" >> "$GITHUB_ENV"
3538
echo "BRANCH_NAME=${{ inputs.ticket }}-bump-gitstream-core-to-${{ inputs.version }}" >> "$GITHUB_ENV"
3639
echo "LABEL_ARG=" >> "$GITHUB_ENV"
40+
echo "REVIEWER_ARG=" >> "$GITHUB_ENV"
3741
3842
- name: Set auto-deploy label
3943
if: inputs.auto-deploy
4044
run: |
4145
echo "LABEL_ARG=--label auto-deploy" >> "$GITHUB_ENV"
4246
47+
- name: Set reviewer
48+
if: inputs.reviewer
49+
run: |
50+
echo "REVIEWER_ARG=--reviewer ${{ inputs.reviewer }}" >> "$GITHUB_ENV"
51+
4352
- name: Init npmrc
4453
run: |
4554
curl -H "X-JFrog-Art-API: ${{ secrets.ARTIFACTORY_API_KEY }}" https://linearb.jfrog.io/linearb/api/npm/npm-local/auth/linearb >> .npmrc
@@ -64,5 +73,4 @@ jobs:
6473
--base develop \
6574
--title "Bump \`@linearb/gitstream-core\` to \`${{ env.VERSION }}\`" \
6675
--body-file pr_description.txt \
67-
--head ${{ env.BRANCH_NAME }} \
68-
--reviewer ${{ github.actor }} ${{ env.LABEL_ARG }}
76+
--head ${{ env.BRANCH_NAME }} ${{ env.REVIEWER_ARG }} ${{ env.LABEL_ARG }}

package-lock.json

Lines changed: 27 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)