-
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
Consider automating release #119
Comments
If it isn't automated somehow, it'll just get forgotten (as it clearly has been for a long time), but given that all changes have to go through pull requests, I'm not sure what that automation should look like, given this is a source tool where the SHA is only known after tagging a given release, which requires another pull request to update a bunch of things in the README and CHANGELOG to include the new version and SHA... |
Yeah, it is a bit of a pain in the tush. Would this work?:
|
Oh, I assumed you had master push privileges! |
If the main branch is protected, I don't think even the repo owner can push directly to the main branch? |
Thanks, I'm slowly learning how this repo is configured. I've not configured this for any of my repos, but I can see the attraction of not allowing force pushes to the main branch. Is this configuration your preference or the repo owner's preference? If the configuration needs to stay this way, I'd have to explore, but I think tags can still be pushed by those with write access to the repo? The version tag could trigger a CI workflow with privileges to do the work above (re-organized a bit). So maybe: Dev Side:
CI Side detects version tag and triggers:
Another way to do this all CI-side is via a |
Definitely not my choice 😄 Initially, PRs also required (at least one) reviewer which made change nearly impossible given that all the previous maintainers (and therefore reviewers) seem to have moved on. I have floated the idea of transferring it to clj-commons but it's somewhat tied to clj-holmes (which seems unmaintained at this point, unfortunately). Any commits the CI action did would have to be on a branch and turn into a PR in order to merge it. Since it's a source-based project, installations don't really need to be merged. I believe we could create a Any PRs made against the main branch could still be merged to it, and main just merged back to I do like hand-craft release notes -- I hadn't thought of making releases on GH based on previous automated tagged versions but that might be a good approach. |
Hmmm... since the original maintainers have moved on, would they be open to giving you admin privs to this repo and open to you reconfiguring it to suit your tastes? Watcha think @mthbernardes? This would avoid contortions like a The only direct tie I see to clj-holmes/clj-holmes is running clj-holmes as a security linter on CI, but there might be more. Is there more? |
Currently
The sarif report includes the clj-watson version:
Version
3.0.2
is stale.So...
We should bump it to current.
But why the ceremony of an issue?
To maybe consider automating bumping of versions in files on release.
Or at least add it to a manual step in a release checklist.
The text was updated successfully, but these errors were encountered: