Skip to content

Add annotate-pr.yml workflow to replace danger-pr#55341

Closed
emily8rown wants to merge 1 commit intofacebook:mainfrom
emily8rown:export-D90991845
Closed

Add annotate-pr.yml workflow to replace danger-pr#55341
emily8rown wants to merge 1 commit intofacebook:mainfrom
emily8rown:export-D90991845

Conversation

@emily8rown
Copy link
Contributor

Summary:
[RN][CI] Add annotate-pr.yml workflow with generic PR comment action

Creates a new GitHub Actions workflow that will eventually replace danger-pr.yml
for annotating PRs with various quality checks.

The workflow:

  • Triggers on pull_request_target for opened, edited, reopened, and synchronize events
  • Checks out the main branch (for security, using trusted code)
  • Runs the diff-js-api-changes action to detect API changes
  • Posts a PR comment using the generic post-pr-comment action

The PR comment script creates, updates, or deletes a bot comment based on whether
there are any sections to report, using a marker to identify existing bot comments.

Differential Revision: D90991845

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 28, 2026
@meta-codesync
Copy link

meta-codesync bot commented Jan 28, 2026

@emily8rown has exported this pull request. If you are a Meta employee, you can view the originating Diff in D90991845.

@emily8rown emily8rown force-pushed the export-D90991845 branch 2 times, most recently from bf63123 to f2901e7 Compare January 29, 2026 11:04
@emily8rown emily8rown force-pushed the export-D90991845 branch 2 times, most recently from 2a4a34c to a14b055 Compare February 2, 2026 11:17
emily8rown added a commit to emily8rown/react-native that referenced this pull request Feb 6, 2026
Summary:

Changelog:
[INTERNAL] [CHANGED] - Add api-changes.yml workflow to replace danger-pr for detecting changes in the js api


  The workflow:
  - Triggers on `pull_request_target` for opened, edited, reopened, and synchronize events
  - Checks out the main branch (for security, using trusted code)
  - Runs the `diff-js-api-changes` action to detect API changes
  - Posts a PR comment using the generic `post-pr-comment` action

  The PR comment script creates, updates, or deletes a bot comment based on whether
  there are any sections to report, using a marker to identify existing bot comments.

Reviewed By: huntie

Differential Revision: D90991845
emily8rown added a commit to emily8rown/react-native that referenced this pull request Feb 6, 2026
Summary:

Changelog:
[INTERNAL] [CHANGED] - Add api-changes.yml workflow to replace danger-pr for detecting changes in the js api


  The workflow:
  - Triggers on `pull_request_target` for opened, edited, reopened, and synchronize events
  - Checks out the main branch (for security, using trusted code)
  - Runs the `diff-js-api-changes` action to detect API changes
  - Posts a PR comment using the generic `post-pr-comment` action

  The PR comment script creates, updates, or deletes a bot comment based on whether
  there are any sections to report, using a marker to identify existing bot comments.

Reviewed By: huntie

Differential Revision: D90991845
Summary:

Changelog:
[INTERNAL] [CHANGED] - Add api-changes.yml workflow to replace danger-pr for detecting changes in the js api


  The workflow:
  - Triggers on `pull_request_target` for opened, edited, reopened, and synchronize events
  - Checks out the main branch (for security, using trusted code)
  - Runs the `diff-js-api-changes` action to detect API changes
  - Posts a PR comment using the generic `post-pr-comment` action

  The PR comment script creates, updates, or deletes a bot comment based on whether
  there are any sections to report, using a marker to identify existing bot comments.

Reviewed By: huntie

Differential Revision: D90991845
emily8rown added a commit to emily8rown/react-native that referenced this pull request Feb 6, 2026
Summary:

Changelog:
[INTERNAL] [CHANGED] - Add api-changes.yml workflow to replace danger-pr for detecting changes in the js api


  The workflow:
  - Triggers on `pull_request_target` for opened, edited, reopened, and synchronize events
  - Checks out the main branch (for security, using trusted code)
  - Runs the `diff-js-api-changes` action to detect API changes
  - Posts a PR comment using the generic `post-pr-comment` action

  The PR comment script creates, updates, or deletes a bot comment based on whether
  there are any sections to report, using a marker to identify existing bot comments.

Reviewed By: huntie

Differential Revision: D90991845
emily8rown added a commit to emily8rown/react-native that referenced this pull request Feb 6, 2026
Summary:

Changelog:
[INTERNAL] [CHANGED] - Add api-changes.yml workflow to replace danger-pr for detecting changes in the js api


  The workflow:
  - Triggers on `pull_request_target` for opened, edited, reopened, and synchronize events
  - Checks out the main branch (for security, using trusted code)
  - Runs the `diff-js-api-changes` action to detect API changes
  - Posts a PR comment using the generic `post-pr-comment` action

  The PR comment script creates, updates, or deletes a bot comment based on whether
  there are any sections to report, using a marker to identify existing bot comments.

Reviewed By: huntie

Differential Revision: D90991845
@meta-codesync meta-codesync bot closed this in 6a9d792 Feb 6, 2026
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Feb 6, 2026
@meta-codesync
Copy link

meta-codesync bot commented Feb 6, 2026

This pull request has been merged in 6a9d792.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @emily8rown in 6a9d792

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants