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:
parent
5a8ee72622
commit
7664c44697
2
.github/workflows/updateAuthors.yml
vendored
2
.github/workflows/updateAuthors.yml
vendored
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user