Skip to content

Commit

Permalink
docs: add information on forks permissions (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
thollander authored Jul 29, 2023
1 parent 8c77f42 commit 2af827f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ permissions:
Add this in case you get `Resource not accessible by integration` error.
See [jobs.<job_id>.permissions](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idpermissions) for more information.


> Note that, if the PR comes from a fork, it will have only read permission despite the permissions given in the action for the `pull_request` event.
> In this case, you may use the `pull_request_target` event. With this event, permissions can be given without issue (the difference is that it will execute the action from the target branch and not from the origin PR).

## Contributing

### Build
Expand Down

0 comments on commit 2af827f

Please sign in to comment.