Skip to content

Add reviewer input to bump-gitstream-core workflow [skip ci]#353

Closed
MishaKav wants to merge 1 commit intodevelopfrom
LINBEE-18177-fix-auto-deploy-after-github-sso
Closed

Add reviewer input to bump-gitstream-core workflow [skip ci]#353
MishaKav wants to merge 1 commit intodevelopfrom
LINBEE-18177-fix-auto-deploy-after-github-sso

Conversation

@MishaKav
Copy link
Collaborator

@MishaKav MishaKav commented Jul 23, 2025

✨ PR Description

Purpose: Add configurable reviewer option to bump-gitstream-core workflow to support deployment after GitHub SSO implementation.
Main changes:

  • Added optional reviewer input parameter to workflow to replace hardcoded github.actor
  • Created separate REVIEWER_ARG environment variable for PR creation command
  • Modified gh pr create command to conditionally include reviewer based on input parameter

Generated by LinearB AI and added by gitStream.
AI-generated content may contain inaccuracies. Please verify before using. We'd love your feedback! 🚀

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR modifies the bump-gitstream-core GitHub workflow to make reviewer assignment configurable. Instead of automatically assigning the workflow actor as a reviewer, users can now specify a custom reviewer via an optional input parameter.

  • Adds an optional reviewer input parameter to the workflow
  • Conditionally sets reviewer argument based on input parameter
  • Replaces hardcoded reviewer assignment with configurable option

if: inputs.auto-deploy
run: |
echo "LABEL_ARG=--label auto-deploy" >> "$GITHUB_ENV"
echo "REVIEWER_ARG=" >> "$GITHUB_ENV"
Copy link

Copilot AI Jul 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Setting REVIEWER_ARG to empty string in the auto-deploy step will override any reviewer setting. This step should only set LABEL_ARG since REVIEWER_ARG is handled separately in the 'Set reviewer' step.

Suggested change
echo "REVIEWER_ARG=" >> "$GITHUB_ENV"

Copilot uses AI. Check for mistakes.
Copy link

@orca-security-us orca-security-us bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

@gitstream-cm
Copy link
Contributor

gitstream-cm bot commented Jul 23, 2025

Please mark which AI tools you used for this PR by checking the appropriate boxes:

  • GitHub Copilot
  • Cursor
  • ChatGPT
  • Tabnine
  • JetBrains AI Assistant
  • VSCode IntelliCode
  • Claude
  • Gemini
  • Other AI tool
  • No AI tools were used

Tip: If you want to avoid this comment in the future, you can add a label of the format 🤖 ai-* when creating your PR.

@MishaKav MishaKav closed this Jul 23, 2025
@MishaKav MishaKav deleted the LINBEE-18177-fix-auto-deploy-after-github-sso branch July 23, 2025 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant