Skip to content

Commit 3b555f9

Browse files
authored
Started using built-in token (#331)
Using the token that is "built-in" to Github Actions is cleaner. More details: shipkit/shipkit-changelog#50
1 parent 11248e2 commit 3b555f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gradle/shipkit.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: "org.shipkit.shipkit-gh-release"
44

55
tasks.named("generateChangelog") {
66
previousRevision = project.ext.'shipkit-auto-version.previous-tag'
7-
readOnlyToken = "a0a4c0f41c200f7c653323014d6a72a127764e17"
7+
readOnlyToken = System.getenv("GITHUB_TOKEN")
88
repository = "mockito/mockito-scala"
99
}
1010

@@ -13,7 +13,7 @@ tasks.named("githubRelease") {
1313
dependsOn genTask
1414
repository = genTask.repository
1515
changelog = genTask.outputFile
16-
writeToken = System.getenv("GH_WRITE_TOKEN")
16+
writeToken = System.getenv("GITHUB_TOKEN")
1717
}
1818

1919
apply plugin: 'com.jfrog.bintray'
@@ -48,4 +48,4 @@ bintray {
4848
}
4949
}
5050
}
51-
}
51+
}

0 commit comments

Comments
 (0)