Skip to content
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

Add workflow to periodically check for dependency updates #21

Merged
merged 2 commits into from Dec 5, 2021
Merged

Conversation

hvisser
Copy link
Contributor

@hvisser hvisser commented Dec 5, 2021

This adds a workflow to run ./gradlew versionCatalogUpdate and, if the catalog is updated, create a PR with the diffs. The workflow is scheduled to run once a week, and can be triggered manually too.

The heavy lifting is in the peter-evans/create-pull-request action that will manage creating and updating the PR when changes are detected. Because during the build gradlew is also changed, that change is reverted before creating the PR.

The PR does not give a comprehensive description of the changed dependencies, it merely produces a new branch and a diff. The created branch can be used to verify the dependency updates or do adjustments before merging, mainly serving as a reminder that updates are available.

The initial run will update the formatting of the catalog so that will be a bit noisy :)

Copy link
Member

@rock3r rock3r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SHIPIT

@rock3r rock3r merged commit 9e1413d into code-with-the-italians:main Dec 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants