Open filfreire opened 4 years ago
Hmm, interesting. I was surprised to hear the workflow is running in your fork, because GitHub's documentation says "Workflows in forked repositories don't run by default."
https://docs.github.com/en/actions/getting-started-with-github-actions/about-github-actions
I guess that part of the doc is wrong. Given that, I think the best workaround is for forkers to disable workflows altogether or modify them to their own purposes, just as they would modify any other part of the code for their purposes. Does that seem reasonable?
As an aside, do you have modifications you'd like to share with other users?
Given that, I think the best workaround is for forkers to disable workflows altogether or modify them to their own purposes, just as they would modify any other part of the code for their purposes. Does that seem reasonable?
Yes seems reasonable!
As an aside, do you have modifications you'd like to share with other users?
There's 3 modifications that I actually think could be useful:
All three of those sound useful to me. Wanna put together a PR for each one?
As of commit https://github.com/CyberGRX/questions-three/commit/3e68ba2d060cd4b168ebe91351d92f430abb0d6d, other users' forks will run Github Actions and their pipelines will fail on the
Build and Publish
step (due to missing credentials).Example (link):
@mikeduskis @ToddBradley any advice on how people with forks can handle this? Or is it something that needs to be edited on
.github/workflows/publish.yml
?From what I could find online, there are ways of adding conditions to workflow files, or each Fork "owner" would need to disable actions.