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.
This commit is contained in:
David Lechner
2022-03-30 13:19:17 -05:00
committed by GitHub
parent 05418122f5
commit e44260d768

View File

@@ -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: