Skip to content

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

Merged
hayee-bhatti merged 1 commit into
REL24_10from
rel2410_builds
May 14, 2025
Merged

[PLAT 69] Bug fix for Daily builds branch selection for scheduled mode (#307)#308
hayee-bhatti merged 1 commit into
REL24_10from
rel2410_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 Introduced env: with DEFAULT_CLI_BRANCH set to REL25_01, (#307) [PLAT 69] Bug fix for Daily builds branch selection for scheduled mode (#307) May 13, 2025
@hayee-bhatti hayee-bhatti requested a review from mmols May 13, 2025 20:16
@hayee-bhatti hayee-bhatti merged commit 5ed3bb0 into REL24_10 May 14, 2025
1 check passed
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.

2 participants