From 155a6343bb029fcbb634ce28e8393654c30ac10a Mon Sep 17 00:00:00 2001 From: Cong Date: Sat, 7 May 2022 12:14:22 +1000 Subject: [PATCH] Danger on PR request target --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5a6f57447..d99808e53 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,5 +1,5 @@ name: Build and Deploy -on: [push, pull_request] +on: [push, pull_request, pull_request_target] jobs: build-and-deploy: runs-on: ubuntu-latest @@ -20,3 +20,4 @@ jobs: yarn danger ci env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}