Skip to content

Commit

Permalink
Use pull_request_target
Browse files Browse the repository at this point in the history
this doesn't cause the issues with `Resource not accessible by integration`
hmarr#166
  • Loading branch information
sideeffffect authored Sep 28, 2020
1 parent a7a5750 commit 91bb43b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Create a workflow file (e.g. `.github/workflows/auto-approve.yml`) that contains

```yaml
name: Auto approve
on: pull_request
on: pull_request_target

jobs:
build:
Expand All @@ -30,7 +30,7 @@ Combine with an `if` clause to only auto-approve certain users. For example, to
name: Auto approve
on:
pull_request
pull_request_target
jobs:
auto-approve:
Expand Down

0 comments on commit 91bb43b

Please sign in to comment.