Skip to content

[PLAT 69] Bug fix for Daily builds branch selection for scheduled mode#307

Merged
hayee-bhatti merged 1 commit into
REL25_01from
rel2501_builds
May 13, 2025
Merged

[PLAT 69] Bug fix for Daily builds branch selection for scheduled mode#307
hayee-bhatti merged 1 commit into
REL25_01from
rel2501_builds

Conversation

@hayee-bhatti
Copy link
Copy Markdown
Member

@hayee-bhatti hayee-bhatti commented May 13, 2025

For scheduled runs, SELECTED_CLI_BRANCH was being set to ${{ inputs.cli_branch }}, which was empty because inputs aren’t provided in scheduled events. This resulted in an invalid git checkout, causing the build to potentially use an unintended (already checked out )branch on the self hosted runner, leading to inconsistent or incorrect builds.
The fix introduces DEFAULT_CLI_BRANCH as an environment variable set to "REL25_01" and uses it for scheduled runs.

now used as the default for scheduled builds.
@hayee-bhatti hayee-bhatti changed the title Bug fix for PLAT 69, Daily builds branch selection for scheduled mode [PLAT 69] Bug fix for Daily builds branch selection for scheduled mode May 13, 2025
@hayee-bhatti hayee-bhatti merged commit f995d46 into REL25_01 May 13, 2025
9 checks passed
hayee-bhatti added a commit that referenced this pull request May 13, 2025
now used as the default for scheduled builds.
hayee-bhatti added a commit that referenced this pull request May 13, 2025
now used as the default for scheduled builds.
hayee-bhatti added a commit that referenced this pull request May 14, 2025
now used as the default for scheduled builds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant