mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
7c0c9a2b93
Summary: Just doing some cleanup of the `.github/workflows` folder: * apply-version-label-issue.yml hasn't been working since 0.72 * ios-tests is unnecessary as it's now covered by test-all * nightlies-feedback.yml was experimental and last execution was ~5 months ago. We can still recover them from the Git history if necessary. ## Changelog: [INTERNAL] - Cleanup the .github/workflows folder Pull Request resolved: https://github.com/facebook/react-native/pull/44857 Test Plan: Will wait for CI result Reviewed By: NickGerleman Differential Revision: D58362912 Pulled By: cortinico fbshipit-source-id: d886e4f077eebfdf906169f09f96a950a361cab7
29 lines
674 B
YAML
29 lines
674 B
YAML
name: Run Danger on PR
|
|
|
|
on:
|
|
pull_request_target:
|
|
types: [opened, edited, reopened, synchronize]
|
|
|
|
permissions:
|
|
actions: write
|
|
checks: write
|
|
contents: write
|
|
issues: write
|
|
pull-requests: write
|
|
statuses: write
|
|
|
|
jobs:
|
|
danger:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'facebook/react-native'
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Run Yarn Install on Root
|
|
run: yarn install
|
|
working-directory: .
|
|
- name: Danger
|
|
run: yarn danger ci --use-github-checks --failOnErrors
|
|
working-directory: packages/react-native-bots
|
|
env:
|
|
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|