Skip to content

Commit 38bae4b

Browse files
okwasniewskifacebook-github-bot
authored andcommitted
fix: run nightly CI only on the main repo (#44844)
Summary: I've noticed that nightly CI build was also running on my fork. I don't think this is necessary for every React Native fork (there are 24k of forks). This can save lots of unnecessary CI time. ## Changelog: [INTERNAL] [FIXED] - Enable nightly run only on the main repo <!-- Help reviewers and the release process by writing your own changelog entry. Pick one each for the category and type tags: [ANDROID|GENERAL|IOS|INTERNAL] [BREAKING|ADDED|CHANGED|DEPRECATED|REMOVED|FIXED|SECURITY] - Message For more details, see: https://reactnative.dev/contributing/changelogs-in-pull-requests Pull Request resolved: #44844 Test Plan: CI Green Reviewed By: cipolleschi Differential Revision: D58356192 Pulled By: cortinico fbshipit-source-id: 1384d06708220d297e67d31433fcf3ac1d58bbbc
1 parent 9fa0764 commit 38bae4b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/nightly.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
jobs:
1111
set_release_type:
1212
runs-on: ubuntu-latest
13+
if: github.repository == 'facebook/react-native'
1314
outputs:
1415
RELEASE_TYPE: ${{ steps.set_release_type.outputs.RELEASE_TYPE }}
1516
env:

0 commit comments

Comments
 (0)