Skip to content

Commit e44260d

Browse files
authored
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 actions#42.
1 parent 0541812 commit e44260d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ jobs:
149149
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:
150150

151151
```yaml
152-
on: pull_request
152+
on: pull_request_target
153153

154154
jobs:
155155
welcome:

0 commit comments

Comments
 (0)