From 026549d4ed93d8ae8b7230080f33a7bb0c27b546 Mon Sep 17 00:00:00 2001 From: Misha Kav Date: Wed, 23 Jul 2025 11:22:54 +0300 Subject: [PATCH] Add reviewer input to bump-gitstream-core workflow --- .github/workflows/bump-gitstream-core.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bump-gitstream-core.yml b/.github/workflows/bump-gitstream-core.yml index f5d29a3b..0d36d913 100644 --- a/.github/workflows/bump-gitstream-core.yml +++ b/.github/workflows/bump-gitstream-core.yml @@ -21,6 +21,9 @@ on: required: false type: boolean default: true + reviewer: + description: GitHub username to assign as reviewer + required: false jobs: publish_pr: @@ -39,6 +42,12 @@ jobs: if: inputs.auto-deploy run: | echo "LABEL_ARG=--label auto-deploy" >> "$GITHUB_ENV" + echo "REVIEWER_ARG=" >> "$GITHUB_ENV" + + - name: Set reviewer + if: inputs.reviewer + run: | + echo "REVIEWER_ARG=--reviewer ${{ inputs.reviewer }}" >> "$GITHUB_ENV" - name: Init npmrc run: | @@ -64,5 +73,4 @@ jobs: --base develop \ --title "Bump \`@linearb/gitstream-core\` to \`${{ env.VERSION }}\`" \ --body-file pr_description.txt \ - --head ${{ env.BRANCH_NAME }} \ - --reviewer ${{ github.actor }} ${{ env.LABEL_ARG }} + --head ${{ env.BRANCH_NAME }} ${{ env.REVIEWER_ARG }} ${{ env.LABEL_ARG }}