-
Hi! Does anyone know why I can't change this setting? The pr-previews are now failing and I don't remember changing this setting. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Ah I changed it for the Organization and now I can change it. |
Beta Was this translation helpful? Give feedback.
-
Even if I changed the setting to RW, it still fails like this
Anything odd there? |
Beta Was this translation helpful? Give feedback.
-
Assuming PR 78 refers to prachtsaal/prachtsaal.berlin#78, that PR originates from a fork. This action doesn't support previews for PRs from forks at this time, and this is stated on the README. See #6 for an explanation of the security implications of allowing previews from forks. If you're willing to forgo security (which I do not recommend), there are some workaround suggestions in the comments. To summarise: your PR 78 originates from carabistouille34's fork. The CI runs using the GITHUB_TOKEN from that fork, which doesn't have write access to prachstaal/prachstaal.berlin. If it used the source repo's GITHUB_TOKEN instead, anyone would be able to make a pull request to any repository to add a new Actions workflow that e.g. deletes the repo. |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to display an error message like
? This would have given me a hint, I wouldn't have asked and less work for the maintainers here :) |
Beta Was this translation helpful? Give feedback.
Assuming PR 78 refers to prachtsaal/prachtsaal.berlin#78, that PR originates from a fork. This action doesn't support previews for PRs from forks at this time, and this is stated on the README.
See #6 for an explanation of the security implications of allowing previews from forks. If you're willing to forgo security (which I do not recommend), there are some workaround suggestions in the comments.
To summarise: your PR 78 originates from carabistouille34's fork. The CI runs using the GITHUB_TOKEN from that fork, which doesn't have write access to prachstaal/prachstaal.berlin. If it used the source repo's GITHUB_TOKEN instead, anyone would be able to make a pull request to any repository t…