Skip to content

Skip set-rn-artifacts-version for PRs targeting stable branches#55807

Open
cipolleschi wants to merge 1 commit into0.83-stablefrom
cipolleschi/fix-android-template-helloworld-83
Open

Skip set-rn-artifacts-version for PRs targeting stable branches#55807
cipolleschi wants to merge 1 commit into0.83-stablefrom
cipolleschi/fix-android-template-helloworld-83

Conversation

@cipolleschi
Copy link
Contributor

Summary

When a PR targets a -stable branch, github.ref_name is the PR branch (not ending in -stable), so the version script was incorrectly running. Added a check for github.base_ref to also skip the script when the PR target branch is a stable branch.

Changelog:

[Internal] - Skip set-rn-artifacts-version for PRs targeting stable branches

Test plan

CI should pass without running the artifacts version script on PRs targeting stable branches.

When a PR targets a -stable branch, github.ref_name is the PR branch
(not ending in -stable), so the version script was incorrectly running.
Added a check for github.base_ref to also skip the script when the PR
target branch is a stable branch.
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 27, 2026
@github-actions
Copy link

Warning

JavaScript API change detected

This PR commits an update to ReactNativeApi.d.ts, indicating a change to React Native's public JavaScript API.

  • Please include a clear changelog message.
  • This change will be subject to additional review.

This change was flagged as: BREAKING

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner Pick Request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants