-
Notifications
You must be signed in to change notification settings - Fork 9
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
Template sync fails when changes are made to workflow files #138
Comments
Ohhh yeah I remember this. Think @Imipenem and myself also ran into this some years back. We went for a PAT |
We just had a bad problem with CI (see discussion on zulip) and ended up needing to manually make the update PRs for 0.2.1. It would be nice to not have to do this. @grst, could you go into some more detail on how the access token would work? |
Here's a notebook doing that: https://gist.github.com/grst/d8d32f1d40b8dc84fd6fbe81d5df38c3 |
Ah cool, makes sense. Where do we fork to, and where does the clone happen? Can this happen on github actions, or would that also be blocked? Also, where does the token come into this? |
The difference is that
|
Do either of you know how nf-core does this? It doesn't look like they make a fork.
It's not super clear to me if the repository has to be under the nf-core organization for this to work though.
|
Afaik it's triggered upon a release of the |
In a test-run, the template sync failed since apparently
the
sync.yaml
action is not permitted to make changes to files in the.github/workflows
directory:https://github.com/icbi-lab/infercnvpy/actions/runs/3875431171/jobs/6607954535
This is a bit of a problem for which we still need to figure out a
solution. One of them is to use a personal access token. Another one
could be to centralize template sync, which I would have liked to avoid.
In #137, I roll back the changes made to workflow files since the last release,
as a short-term fix.
The text was updated successfully, but these errors were encountered: