From 91bb43b56df93dd8328ca786d8e8cdeb2de03c1b Mon Sep 17 00:00:00 2001 From: Ondra Pelech Date: Tue, 29 Sep 2020 01:26:17 +0200 Subject: [PATCH] Use pull_request_target this doesn't cause the issues with `Resource not accessible by integration` https://github.com/hmarr/auto-approve-action/issues/166 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 50c18a2..ee0ea34 100644 --- a/README.md +++ b/README.md @@ -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: @@ -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: