Repository navigation
Add --mergeable option to the iOS prebuild scripts #18544
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Analyze API Changes | ||
|
Check warning on line 1 in .github/workflows/api-changes.yml
|
||
| 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) }}]' | ||