Fork me on GitHub
#announcements
<
2021-01-07
>
nnichols01:01:20

Howdy! I’ve built a GitHub Action to check your deps.edn files for outdated dependencies, and to automatically create PRs for each upgrade. Give it a try: https://github.com/nnichols/clojure-dependency-update-action • Thanks to @tessellator for the original shell script this was based off of!

🔥 13
hyper-clap 3
👍 4
ericdallo01:01:17

Really cool! Does it checks for already open PRs by the GH action itself? Otherwise, each push it'll open a PR? 😅

nnichols01:01:53

The branch names for each old-version:new-version pair would be identical, and the github cli accurately prevents you from opening more than one PR against a single branch.

nnichols01:01:24

It ought to log a message that the PR exists and move on to the next stale dependency iirc

uochan02:01:48

Cool! I'll add a refence to antq's README (PR is also welcomed!) https://github.com/liquidz/antq#github-actions

ericdallo02:01:52

I'll try to add it to clojure-lsp later, thanks!

benedek14:01:15

that is nice

nnichols22:01:56

If you primarily maintain the version of your artifact in a pom.xml, I wrote a short GitHub action to respond to commit messages and perform the appropriate version bump against said pom. https://github.com/nnichols/maven-version-bump-action