Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/actions/diff-js-api-breaking-changes/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ runs:
using: composite
steps:
- name: Checkout PR branch
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- name: Run yarn install
uses: ./.github/actions/yarn-install

- name: Get merge base commit with main
id: merge_base
shell: bash
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/danger-pr.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Run Danger on PR

on:
pull_request_target:
pull_request:
types: [opened, edited, reopened, synchronize]

permissions:
Expand All @@ -24,8 +24,8 @@ jobs:
uses: ./.github/actions/yarn-install
- name: Run diff-js-api-breaking-changes
uses: ./.github/actions/diff-js-api-breaking-changes
- 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 }}
# - 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 }}
Loading