Nightly build fails for clones of this repo without auth
I'm not sure this is a real bug, but thought I'd point it out just in case. [[As an aside, when creating an issue, I am asked to choose between a "bug" or a "feature". It would be good to have additional alternatives such as "issue" or no tag at all.]]
Since about the last week, when I update my clone of this project by pushing an updated master, I get a notice that the nightly build has failed.
Here is a screenshot.
It looks like some authorization has failed.
I'm not sure what the appropriate fix is. Perhaps the nightly build script should only run when auth is provided? If it's something I need to do on my cloned repo, please let me know.
Thanks
@bombaywalla that happens because we use ECA_TOKEN here to create a release at https://github.com/editor-code-assistant/eca-dev-builds, since you forked this repo, you probably didn't set or makes sense to set that token.
Thanks.
Excuse my ignorance, but I'm not sure what the appropriate and conventional solution to this is, assuming I have no need or intention to run nightly builds.
Should I not fork this repo to create PRs? Should I add an ECA_TOKEN to my forked repo? Should I just ignore this failure each night? Something else?
Just ignore it, I believe it should exist some GitHub config to not run this action in forks but don't mind failing it won't affect eca repo in your fork
I did some investigation, and it seems there are two approaches people have taken.
- In the forked repo, disable all actions. This is all-or-nothing. See this github community discussion for more. I have done this in my forked repo.
- Change the workflow to conditionally run the specific workflows only when in the original repo and not in any other fork. See this Stack Overflow discussion for more. This can be made specific to a workflow. If you want, you can add something similar to the workflow.
Thanks @bombaywalla just did that here