From c9ac0178da55a255aae46c84cc81f484d3d7465d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=A9rence=20Hollander?= Date: Sat, 29 Jul 2023 18:49:55 +0200 Subject: [PATCH] docs: add information on forks permissions --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index c8c317f2..959abc86 100644 --- a/README.md +++ b/README.md @@ -138,6 +138,10 @@ permissions: Add this in case you get `Resource not accessible by integration` error. See [jobs..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