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.
fixes #59
The GH aciton workflow was more or less copied from the gradle-wrapper-upgrade project itself.
👉 Link to their workflow file
Please notice that I removed the commit signing part here.
I'm not sure if this is/was a requirement for you. But to make this PR easy and straightforward I left them out.
Let me know if you want to include it.
If so, add the key and password to this repository (if not already added via the Gradle GitHub organisation) and I will add the respective code parts.
To note is also that the pull request create by this workflow does not run any tests❗
This is due to the fact that we are using the
secrets.GITHUB_TOKEN
.Any PR that were created by an action can't trigger other actions by design.
So in case we want to run tests also on wrapper upgrade PRs (which make sense IMHO), you have to provide another secret and invite the respective user of this secret to this repo as collaborator with write access.
You might want to use your
bot-githubaction
for that 🙃 Seems this bot is designed for such tasks 😁Here is an example of how such an PR could look like.
Notice that it doesn't run any tests. Only the DCO check runs (because of I don't know the reason 🙈 )