Update danger to run on pull_request_target

pull_request_target runs in the context of the base repo, which should allow Danger to be able to comment on things from outside the repo: https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request_target
This commit is contained in:
Lucas Nicodemus 2021-05-22 21:56:36 -07:00 committed by GitHub
parent b8b27277e9
commit 7dde56e6da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
name: Danger
on:
workflow_dispatch:
pull_request:
pull_request_target:
types: [synchronize, edited, opened, reopened]
jobs:
run: