-
Notifications
You must be signed in to change notification settings - Fork 164
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
fix broken CI script #1254
fix broken CI script #1254
Conversation
🍱 You can preview the tagging presets of this pull request here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Only way to test it is to merge, right? So lets try this…
Well, not really :-D Maybe something checks if the right files where changed and only then allows the Action to run. But re-running the last action https://github.com/openstreetmap/id-tagging-schema/actions/workflows/deploy.yml does not work either, it shows the same error (I thought it would use the current code to run but maybe it uses the specific commit…). => We will just have to wait until we merge something else, I guess. |
@k-yle the prettier merge just now ran the script in https://github.com/openstreetmap/id-tagging-schema/actions/runs/9411968617 and it still fails. Did not look into it more. Btw, there is another info about outdated node being used by the action which we fixed with FixMyBerlin/atlas-app@e9e260f in a different project. We might want to lookout for that as well. |
@tordans it's a different error now, because pushing directly to the One solution is to make the bot automatically opens a PR instead of committing to For completeness: another solution would be to store the |
Martin can probably add the Action to an allow list that allows it to push to main and bypass the branch protection. |
I'm interested to know if this is possible, because last time I checked, it was only possible to make exceptions for Users/Bots/GitHub Apps, but not GitHub Actions12, since actions use the repository's Footnotes |
I did a bit of research and as far as I see, there is no good way to make this work (see also this short discussion on the repo of the github action we use in the workflow), at least not easily. 🤷 We could either disable the branch protection rules again (and manually check that our "branch/PR rules" are followed), or otherwise make sure that the necessary "deploy" routine is performed when each PR is merged. My quick opinion would be that the second option might be more error-prone in the long term than the first. What do you think? |
A third option would be to do the "deploy" of the //edit: iD and transifex now point to the new branch for this. next step would be to drop the interim directory in the main branch: let's do this after the upcoming release |
See JamesIves/github-pages-deploy-action#1589 for more info. The 'deploy' pipeline has been broken for the past 2 weeks