test change for dangerfile testing #18
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: 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: | |
| - name: Check out PR 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 | |
| uses: ./.github/actions/diff-js-api-changes | |
| - name: Debug - Show API diff output | |
| run: cat ${{ runner.temp }}/diff-js-api-changes/output.json | |
| # Danger step removed for fork testing | |
| # - name: Danger | |
| # run: yarn danger ci --use-github-checks --failOnErrors | |
| # working-directory: private/react-native-bots | |
| # env: | |
| # DANGER_GITHUB_API_TOKEN: ${{ secrets.REACT_NATIVE_BOT_GITHUB_TOKEN }} |