[Health] Prevent setup-gradle from updating to beyond version 5#351
Open
[Health] Prevent setup-gradle from updating to beyond version 5#351
setup-gradle from updating to beyond version 5#351Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Caps Dependabot GitHub Actions updates so the Gradle setup-gradle action won’t be bumped to v6+ (to avoid the licensing/caching changes introduced in v6).
Changes:
- Add Dependabot
ignorerules to prevent updates togradle/actions/setup-gradlev6+. - (Formatting) Align the
open-pull-requests-limitline indentation in thegithub-actionsupdate block.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
.github/dependabot.yml
Outdated
| open-pull-requests-limit: 1 No newline at end of file | ||
| open-pull-requests-limit: 1 | ||
| ignore: | ||
| - dependency-name: "gradle/actions/setup-gradle" |
There was a problem hiding this comment.
There are trailing spaces after the dependency name. This can create noisy diffs and can break some YAML linters—please remove the extra whitespace at the end of the line.
Suggested change
| - dependency-name: "gradle/actions/setup-gradle" | |
| - dependency-name: "gradle/actions/setup-gradle" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
What
Sets the max version for
setup-gradleaction to be v5 by preventing updates to v6 & above.Why
See chat thread for more details: https://chat.google.com/room/AAAADLv-zSQ/uEWEF8xxk0Y/uEWEF8xxk0Y?cls=10
Gradle announced1 some changes to the action:
Their post (and messaging in some private chats) has indicated that they do not expect caching support to stay free forever except for open source repos. Their recommendation is to pay for Develocity and use their Universal Cache product2.