Skip to content

[0.84] Skip set-rn-artifacts-version for PRs targeting stable branches #1241

@cipolleschi

Description

@cipolleschi

Cherry-pick Request

Target Branch

0.84

Link to commit or PR to be picked

facebook/react-native#55808

Description

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.

This fix is needed to ensure CI works correctly for PRs targeting stable branches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type Pick RequestPick requests to include commits inside a React Native release

    Type

    No type

    Projects

    Status

    Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions