mirror of
https://github.com/react/react-native.git
synced 2026-09-28 05:13:06 +08:00
Summary: Pull Request resolved: https://github.com/react/react-native/pull/57167 Update GitHub Actions workflow files to reflect React Native's migration from `facebook/react-native` to `react/react-native`. Changes the fork-prevention guards (`github.repository == 'facebook/react-native'`) to use the new org across 17 workflow files (28 occurrences total), plus updates the `repo_owner` parameter in the issue monitoring workflow. Changelog: [Internal] Reviewed By: fabriziocucci Differential Revision: D108246445 fbshipit-source-id: 010631838a05e366da525aa765d3ea4376f9d145
29 lines
805 B
YAML
29 lines
805 B
YAML
name: Analyze API Changes
|
|
|
|
on:
|
|
pull_request_target:
|
|
types: [opened, edited, reopened, synchronize]
|
|
|
|
permissions:
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
api_changes:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'react/react-native'
|
|
steps:
|
|
- name: Check out main branch
|
|
uses: actions/checkout@v6
|
|
- name: Setup Node.js
|
|
uses: ./.github/actions/setup-node
|
|
- name: Run yarn install
|
|
uses: ./.github/actions/yarn-install
|
|
- name: Run diff-js-api-changes
|
|
id: diff-js-api-changes
|
|
uses: ./.github/actions/diff-js-api-changes
|
|
- name: Post PR comment
|
|
uses: ./.github/actions/post-pr-comment
|
|
with:
|
|
marker: '<!-- api-changes -->'
|
|
sections: '[${{ toJSON(steps.diff-js-api-changes.outputs.message) }}]'
|