Skip to content

Move PR head ref to env variable#141

Merged
ShereinDabbah merged 2 commits into
microsoft:mainfrom
bobalive:fix/compatabiliesCapabilitiesYaml
Jan 6, 2026
Merged

Move PR head ref to env variable#141
ShereinDabbah merged 2 commits into
microsoft:mainfrom
bobalive:fix/compatabiliesCapabilitiesYaml

Conversation

@bobalive

@bobalive bobalive commented Jan 6, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: REDMOND\v-bdjalalov <boburtjalalov@gmail.com>
Copilot AI review requested due to automatic review settings January 6, 2026 09:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 refactors the capabilities-compatibility workflow by moving the github.head_ref context value into an environment variable (PR_BRANCH) rather than using it directly in the run script. Note: The PR title contains spelling errors ("capabilies" should be "capabilities" and "compatabilities" should be "compatibilities").

Key Changes

  • Introduces an env block in the "Determine base ref" step to define PR_BRANCH environment variable
  • Replaces the direct GitHub context expression ${{ github.head_ref }} with the $PR_BRANCH environment variable reference

Comment thread .github/workflows/capabilities-compatibility.yml Outdated
Comment thread .github/workflows/capabilities-compatibility.yml
@bobalive bobalive changed the title Move PR head ref to env variablefixed capabilies compatabilities yaml Move PR head ref to env variable Jan 6, 2026
Signed-off-by: REDMOND\v-bdjalalov <boburtjalalov@gmail.com>
@Yarovinsky Yarovinsky self-requested a review January 6, 2026 10:05
@ShereinDabbah ShereinDabbah merged commit e78032e into microsoft:main Jan 6, 2026
7 checks 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.

4 participants