-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Forks Github Actions fail on PyPi upload attempt #12
Comments
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? |
Yes seems reasonable!
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 3e68ba2, 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.
The text was updated successfully, but these errors were encountered: