Skip to content

Commit

Permalink
Merge pull request #218 from gradle/marc/fix-wrapper-upgrade-action
Browse files Browse the repository at this point in the history
Fix Gradle wrapper upgrade action
  • Loading branch information
marcphilipp authored Sep 15, 2023
2 parents 8e31993 + 061587f commit b41440a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/wrapper-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
env:
TOKEN: ${{ secrets.GH_BOT_GITHUB_TOKEN }}
run: |
git config --global url."https://${TOKEN}:x-oauth-basic@github.com/".insteadOf "https://github.com/"
git config --global url."https://bot-githubaction:${TOKEN}@github.com/".insteadOf "https://github.com/"
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@82a020f1f7f605c65dd2449b392a52c3fcfef7ef
with:
Expand All @@ -34,4 +34,5 @@ jobs:
with:
arguments: clean upgradeGradleWrapperAll --no-build-cache
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
WRAPPER_UPGRADE_GIT_TOKEN: ${{ secrets.GH_BOT_GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id("nebula.release") version "17.2.2"
id("org.gradle.wrapper-upgrade") version "0.11.2"
id("org.gradle.wrapper-upgrade") version "0.11.3"
}

buildScan {
Expand Down Expand Up @@ -37,6 +37,7 @@ wrapperUpgrade {
gradle {
register("self") {
repo.set("gradle/test-retry-gradle-plugin")
options.gitCommitExtraArgs.add("--signoff")
}
}
}

0 comments on commit b41440a

Please sign in to comment.