Skip to content

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

Open
cipolleschi wants to merge 1 commit intomainfrom
cipolleschi/fix-android-template-helloworld-main
Open

Skip set-rn-artifacts-version for PRs targeting stable branches#55809
cipolleschi wants to merge 1 commit intomainfrom
cipolleschi/fix-android-template-helloworld-main

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.

@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
@meta-codesync
Copy link

meta-codesync bot commented Feb 27, 2026

@cipolleschi has imported this pull request. If you are a Meta employee, you can view this in D94678295.

Copy link
Contributor

@cortinico cortinico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

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.
@cipolleschi cipolleschi force-pushed the cipolleschi/fix-android-template-helloworld-main branch from eabd8cb to 53b28b3 Compare February 27, 2026 17:49
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants