-
Notifications
You must be signed in to change notification settings - Fork 61
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
Bioconda workflow failed with push error due to insufficient permissions #1509
Comments
I've seen this before in a different repo, I think this might be due to some changes on our fork vs the bioconda master. |
Seems to happen stochastically, e.g. last time here. Maybe we can just retry he action 3 times before failing eventually? https://github.com/nextstrain/nextclade/actions/runs/9577731744/job/26406514723 |
Alternatively the issue could be that the nextstrain fork isn't up to date, we might want to sync it first? |
A manual sync of our nextstrain fork fixed it. We should probably do this every time automatically before pushing at the start of the workflow. Or we give the PAT workflow permissions. |
Context: https://bedfordlab.slack.com/archives/C01LCTT7JNN/p1683672353211379 This thing fails every time bioconda touches their GHA workflows. Me and Tom tried different ways to update the fork, but nothing seems to be working. Current thing: nextclade/scripts/publish_bioconda Lines 67 to 71 in 4d62bb7
I just do this manually every time it fails. But forgot to check this time. The problem is nonsensical. Would be nice to find a solution. |
I've been thinking lately (in general) what is the value proposition of GitHub forks? That GitHub can fail things randomly and gather some intel on who is networking with whom? I mean, it could be just a standalone repo with periodic pushes from origin repo. |
@ivan-aksamentov There's not a compelling reason for the repo in its current state to be a GitHub fork, other than making it maybe slightly clearer in the GitHub UI what it's related to. I believe you can submit PRs to repos from arbitrary other repos, without them being marked as a GitHub fork. So we could disassociate it. But that wouldn't solve the issue of the token not being allowed to introduce new GitHub Actions workflow files, right? (I followed up in Slack too.) |
https://github.com/nextstrain/nextclade/actions/runs/9884976601/job/27302228960
The text was updated successfully, but these errors were encountered: