Skip to content

Commit

Permalink
Added note
Browse files Browse the repository at this point in the history
  • Loading branch information
exoego committed Jun 2, 2024
1 parent 72a37b2 commit 2d3a06a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ permissions:
pull-requests: write # for comments
```

This action uses the `GITHUB_TOKEN` provided by GitHub Actions.
Due to security limitation, `GITHUB_TOKEN` is not granted to write comments on PRs from forks on `pull_request` event.
Instead, [`pull_request_target` event should be used on PRs from forks to overcome this limitation](https://docs.github.com/en/actions/security-guides/automatic-token-authentication).
Please check the above setup example to use this action with `pull_request_target`.

## Action inputs

| Name | Default | Description |
Expand Down

0 comments on commit 2d3a06a

Please sign in to comment.