-
Notifications
You must be signed in to change notification settings - Fork 13
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
Protect the main branch #128
Comments
You can also store the results in a different branch of this repo (I do it in a non-Galaxy-related repo). |
I like @nsoranzo's idea! |
I agree that would work, but is it not a somewhat strange way of using git ? :) |
I did re-protect the main branch again, btw., I only unprotected to show in the demo how the CI is working. |
It is the way GitHub Pages use the gh-pages branch, see e.g. https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site This is how I do it in my repo: https://github.com/TGAC/rfparser/blob/main/.github/workflows/deploy.yaml |
@nsoranzo it seems that storing the results in a different branch does bring some new issues: https://github.com/galaxyproject/galaxy_codex/actions/runs/10338185162/job/28615936668 |
I think that should do the trick, #163 |
If we do that, the Action can not update tool and tutorial lists
Possible solution
Protect main and have PR with changes instead of pushing directly
But someone needs to merge the PR every week
Allow only the CI to push directly
Not sure how to do that
Store the results in a different repo (as the research-software-ecosystem does)
The text was updated successfully, but these errors were encountered: