mirror of
https://github.com/react/react-native.git
synced 2026-10-05 11:21:15 +08:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/55469 Rename workflow job IDs from kebab-case to snake_case and update workflow name to match convention. Changelog: [General][Changed] - rename workflow job IDs from kebab-case to snake_case Reviewed By: huntie Differential Revision: D92697078 fbshipit-source-id: bc8c99b6807997fe625d1f7921b3664992697b36
29 lines
808 B
YAML
29 lines
808 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 == 'facebook/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) }}]'
|