Skip to content

Commit b79cd8d

Browse files
emily8rownmeta-codesync[bot]
authored andcommitted
Remove Danger.js workflow and React native bots package (#55385)
Summary: Pull Request resolved: #55385 Now that all Danger.js checks have been migrated to native GitHub Actions in the `annotate-pr.yml` workflow, this removes the deprecated Danger infrastructure: - Deletes `.github/workflows/danger-pr.yml` workflow - Deletes `private/react-native-bots/dangerfile.js` - Removes `danger` npm dependency from `react-native-bots/package.json` The functionality previously provided by Danger.js is now handled by: - **API diff detection**: `diff-js-api-changes` action - **PR body validation**: `validatePRBody.js` script (summary, test plan, changelog checks) - **Branch targeting**: `checkBranchTarget.js` script (validates target branch, adds "Pick Request" label) - **PR commenting**: `post-pr-comment` action This simplifies the CI pipeline by removing the third-party Danger dependency and consolidating PR annotation logic into maintainable GitHub Actions workflows. Changelog: [Internal] Reviewed By: huntie Differential Revision: D91695886 fbshipit-source-id: c88001ef75d16c4709c7972add141db0df3b5a30
1 parent 1ee6fdc commit b79cd8d

7 files changed

Lines changed: 9 additions & 748 deletions

File tree

.flowconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
; Ignore the codegen e2e tests
99
<PROJECT_ROOT>/packages/react-native-codegen/e2e/__test_fixtures__/modules/NativeEnumTurboModule.js
1010

11-
; Ignore the Dangerfile
12-
<PROJECT_ROOT>/private/react-native-bots/dangerfile.js
13-
1411
; Ignore "BUCK" generated dirs
1512
<PROJECT_ROOT>/\.buckd/
1613

.github/workflows/danger-pr.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

private/react-native-bots/.babelrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

private/react-native-bots/README.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

private/react-native-bots/dangerfile.js

Lines changed: 0 additions & 125 deletions
This file was deleted.

private/react-native-bots/package.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)