Open ctmbl opened 3 weeks ago
https://github.com/iScsc/blog.iscsc.fr/pull/61 introduced a semi-manual (needs approval) workflow to deploy to the preview website at https://dev.iscsc.fr in order to share PR changes with others without having to clone and deploy locally.
This deploying workflow needs some repo secret, the ssh key for example, but secrets are not exposed to pull requests opened from forks for security reasons this leads to the workflow failing when triggered from forks. see also:
currently the only solution is to push the branch to the origin repo (for users with write perms) and trigger the workflow manually
https://michaelheap.com/access-secrets-from-forks/
Context
https://github.com/iScsc/blog.iscsc.fr/pull/61 introduced a semi-manual (needs approval) workflow to deploy to the preview website at https://dev.iscsc.fr in order to share PR changes with others without having to clone and deploy locally.
Problem
This deploying workflow needs some repo secret, the ssh key for example, but secrets are not exposed to pull requests opened from forks for security reasons this leads to the workflow failing when triggered from forks. see also:
Workaround
currently the only solution is to push the branch to the origin repo (for users with write perms) and trigger the workflow manually
Solution
https://michaelheap.com/access-secrets-from-forks/