Skip to content

Conversation

@aholstrup1
Copy link
Contributor

@aholstrup1 aholstrup1 commented Feb 6, 2026

Summary

Fix the WorkitemValidation workflow to correctly assign milestones to PRs targeting release branches.

The workflow uses pull_request_target which, with a bare actions/checkout, always checks out the default branch (main). This means PRs targeting release branches (e.g. releases/27.3) get the milestone from main (e.g. "Version 28.0") instead of the correct release branch milestone.

The fix adds ref: ${{ github.event.pull_request.base.ref }} to the checkout steps so the correct branch is checked out.

Work Item(s)

Fixes AB#620875

@aholstrup1 aholstrup1 requested a review from a team as a code owner February 6, 2026 10:05
@github-actions github-actions bot added the Build: Automation Workflows and other setup in .github folder label Feb 6, 2026
@github-actions github-actions bot added this to the Version 28.0 milestone Feb 6, 2026
@github-actions github-actions bot added the Build: scripts & configs Build scripts and configuration files label Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build: Automation Workflows and other setup in .github folder Build: scripts & configs Build scripts and configuration files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant