From e44260d7682ffe66460da3070c6694e692332562 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Wed, 30 Mar 2022 13:19:17 -0500 Subject: [PATCH] README: use pull_request_target in example Pull requests from forks do not have write permission, so we need to use `pull_request_target` instead of `pull_request` to enable write permission. Fixes #42. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c4e7bbc5..6a187390 100644 --- a/README.md +++ b/README.md @@ -149,7 +149,7 @@ jobs: You can format text in comments using the same [Markdown syntax](https://docs.github.com/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax) as the GitHub web interface: ```yaml -on: pull_request +on: pull_request_target jobs: welcome: