Skip to content

Commit

Permalink
Fix missing renames from bots to react-native-bots (facebook#34713)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#34713

Changelog: [Internal] - Fix up missing bots usage after we moved everything to packages/react-native-bots in facebook@767f8e0

Reviewed By: NickGerleman

Differential Revision: D39583230

fbshipit-source-id: 6cc6b7923e67139dc3c81dfe0c39005dde905248
  • Loading branch information
Luna Wei authored and facebook-github-bot committed Sep 16, 2022
1 parent 7003fcd commit dc56eb9
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 8 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
**/main.js
**/staticBundle.js
bots/node_modules
docs/generatedComponentApiDocs.js
flow/
flow-typed/
Expand Down
2 changes: 1 addition & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<PROJECT_ROOT>/template/.*

; Ignore the Dangerfile
<PROJECT_ROOT>/bots/dangerfile.js
<PROJECT_ROOT>/packages/react-native-bots/dangerfile.js

; Ignore "BUCK" generated dirs
<PROJECT_ROOT>/\.buckd/
Expand Down
2 changes: 1 addition & 1 deletion .flowconfig.android
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<PROJECT_ROOT>/template/.*

; Ignore the Dangerfile
<PROJECT_ROOT>/bots/dangerfile.js
<PROJECT_ROOT>/packages/react-native-bots/dangerfile.js

; Ignore "BUCK" generated dirs
<PROJECT_ROOT>/\.buckd/
Expand Down
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

# GitHub Settings, Bots
/.github/ @hramos
/bots @hramos
/packages/react-native-bots @hramos

# Continuous Integration
/.circleci/ @hramos
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ local.properties
node_modules
*.log
.nvm
/bots/node_modules/
package-lock.json

# OS X
Expand Down
2 changes: 1 addition & 1 deletion scripts/circleci/analyze_code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ GITHUB_REPO=${CIRCLE_PROJECT_REPONAME:-react-native}
export GITHUB_OWNER
export GITHUB_REPO

cat <(echo eslint; npm run lint --silent -- --format=json; echo flow; npm run flow-check-ios --silent --json; echo flow; npm run flow-check-android --silent --json; echo google-java-format; node scripts/lint-java.js --diff) | GITHUB_PR_NUMBER="$CIRCLE_PR_NUMBER" node bots/code-analysis-bot.js
cat <(echo eslint; npm run lint --silent -- --format=json; echo flow; npm run flow-check-ios --silent --json; echo flow; npm run flow-check-android --silent --json; echo google-java-format; node scripts/lint-java.js --diff) | GITHUB_PR_NUMBER="$CIRCLE_PR_NUMBER" node packages/react-native-bots/code-analysis-bot.js

STATUS=$?
if [ $STATUS == 0 ]; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/circleci/post-artifacts-link.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ GITHUB_OWNER=${CIRCLE_PROJECT_USERNAME:-facebook} \
GITHUB_REPO=${CIRCLE_PROJECT_REPONAME:-react-native} \
GITHUB_PR_NUMBER="${CIRCLE_PR_NUMBER:-${CIRCLE_PULL_REQUEST##*/}}" \
GITHUB_SHA=${CIRCLE_SHA1} \
exec node bots/post-artifacts-link.js
exec node packages/react-native-bots/post-artifacts-link.js
2 changes: 1 addition & 1 deletion scripts/circleci/report-bundle-size.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ case $1 in
GITHUB_PR_NUMBER="${CIRCLE_PR_NUMBER:-${CIRCLE_PULL_REQUEST##*/}}" \
GITHUB_REF=${CIRCLE_BRANCH} \
GITHUB_SHA=${CIRCLE_SHA1} \
exec node bots/report-bundle-size.js "$1"
exec node packages/react-native-bots/report-bundle-size.js "$1"
;;
*)
echo "Syntax: $0 [android | ios]"
Expand Down

0 comments on commit dc56eb9

Please sign in to comment.