1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-05-09 18:34:06 +02:00

Fix type in github auth

This commit is contained in:
Alex Plate 2021-11-17 20:09:58 +03:00
parent 5a8ee72622
commit 7664c44697
No known key found for this signature in database
GPG Key ID: 0B97153C8FFEC09F
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ jobs:
run: ./gradlew updateAuthors --stacktrace
env:
SUCCESS_COMMIT: ${{ steps.last_successful_commit.outputs.commit_hash }}
GITHU_OAUTH: ${{ secrets.AUTOMATION_TOKEN }}
GITHUB_OAUTH: ${{ secrets.AUTOMATION_TOKEN }}
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4

View File

@ -359,7 +359,7 @@ fun updateAuthors(uncheckedEmails: Set<String>) {
println(projectDir)
val repository = org.eclipse.jgit.lib.RepositoryBuilder().setGitDir(File("$projectDir/.git")).build()
val git = org.eclipse.jgit.api.Git(repository)
val lastSuccessfulCommit = "296b714282301d84ee204e85fba8821d456fcfae"
val lastSuccessfulCommit = System.getenv("SUCCESS_COMMIT")!!
val hashesAndEmailes = git.log().call()
.takeWhile {
!it.id.name.equals(lastSuccessfulCommit, ignoreCase = true)