Skip to content

Commit 683054c

Browse files
yungstersfacebook-github-bot
authored andcommitted
RN: Move {packages => private}/react-native-bots (#51932)
Summary: Pull Request resolved: #51932 Moves `packages/react-native-bots` to `private/react-native-bots`. Changelog: [Internal] Reviewed By: huntie Differential Revision: D76354266 fbshipit-source-id: 6ca714c8b0c881b073d84a2f033f78d366ed3f24
1 parent df52bbe commit 683054c

9 files changed

Lines changed: 19 additions & 26 deletions

File tree

.flowconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<PROJECT_ROOT>/packages/react-native-codegen/e2e/__test_fixtures__/modules/NativeEnumTurboModule.js
1010

1111
; Ignore the Dangerfile
12-
<PROJECT_ROOT>/packages/react-native-bots/dangerfile.js
12+
<PROJECT_ROOT>/private/react-native-bots/dangerfile.js
1313

1414
; Ignore "BUCK" generated dirs
1515
<PROJECT_ROOT>/\.buckd/

.github/workflow-scripts/analyze_code.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export GITHUB_REPO=-react-native
1616

1717
echo google-java-format
1818
node scripts/lint-java.js --diff
19-
} | node packages/react-native-bots/code-analysis-bot.js
19+
} | node private/react-native-bots/code-analysis-bot.js
2020

2121
STATUS=$?
2222
if [ $STATUS == 0 ]; then

.github/workflows/danger-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ jobs:
2424
uses: ./.github/actions/yarn-install
2525
- name: Danger
2626
run: yarn danger ci --use-github-checks --failOnErrors
27-
working-directory: packages/react-native-bots
27+
working-directory: private/react-native-bots
2828
env:
2929
DANGER_GITHUB_API_TOKEN: ${{ secrets.REACT_NATIVE_BOT_GITHUB_TOKEN }}

packages/react-native-bots/package.json

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ You'll need a GitHub Public Access Token (PAT). It will look like `github_pat_<R
99
So, for example:
1010

1111
```
12-
cd packages/react-native-bots && yarn
12+
cd private/react-native-bots && yarn
1313
DANGER_GITHUB_API_TOKEN=ghp_<REDACTED> yarn danger pr https://github.com/facebook/react-native/pull/1234
1414
```
1515

File renamed without changes.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "@react-native/bots",
3+
"version": "0.0.0",
4+
"private": true,
5+
"license": "MIT",
6+
"engines": {
7+
"node": ">= 22.14.0"
8+
},
9+
"devDependencies": {
10+
"@rnx-kit/rn-changelog-generator": "^0.4.0",
11+
"danger": "^13.0.4",
12+
"lodash.includes": "^4.3.0",
13+
"minimatch": "^3.0.4"
14+
}
15+
}

0 commit comments

Comments
 (0)