Skip to content

Commit b41440a

Browse files
authored
Merge pull request #218 from gradle/marc/fix-wrapper-upgrade-action
Fix Gradle wrapper upgrade action
2 parents 8e31993 + 061587f commit b41440a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/wrapper-upgrade.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
env:
1818
TOKEN: ${{ secrets.GH_BOT_GITHUB_TOKEN }}
1919
run: |
20-
git config --global url."https://${TOKEN}:x-oauth-basic@github.com/".insteadOf "https://github.com/"
20+
git config --global url."https://bot-githubaction:${TOKEN}@github.com/".insteadOf "https://github.com/"
2121
- name: Import GPG key
2222
uses: crazy-max/ghaction-import-gpg@82a020f1f7f605c65dd2449b392a52c3fcfef7ef
2323
with:
@@ -34,4 +34,5 @@ jobs:
3434
with:
3535
arguments: clean upgradeGradleWrapperAll --no-build-cache
3636
env:
37+
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
3738
WRAPPER_UPGRADE_GIT_TOKEN: ${{ secrets.GH_BOT_GITHUB_TOKEN }}

build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id("nebula.release") version "17.2.2"
3-
id("org.gradle.wrapper-upgrade") version "0.11.2"
3+
id("org.gradle.wrapper-upgrade") version "0.11.3"
44
}
55

66
buildScan {
@@ -37,6 +37,7 @@ wrapperUpgrade {
3737
gradle {
3838
register("self") {
3939
repo.set("gradle/test-retry-gradle-plugin")
40+
options.gitCommitExtraArgs.add("--signoff")
4041
}
4142
}
4243
}

0 commit comments

Comments
 (0)