Skip to content

Commit

Permalink
README: use pull_request_target in example
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dlech authored Mar 30, 2022
1 parent 0541812 commit e44260d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e44260d

Please sign in to comment.