Skip to content

Commit

Permalink
Merge pull request #523 from codacy/fix-env-variable-semaphore
Browse files Browse the repository at this point in the history
fix env variable COMMIT SHA Semaphore (suggested by @addersuk)
  • Loading branch information
DMarinhoCodacy authored Feb 25, 2025
2 parents b61ec82 + cf8cb77 commit 5fe7aa4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -12,5 +12,5 @@ object SemaphoreCIProvider extends CommitUUIDProvider {
}

override def getValidCommitUUID(environment: Map[String, String]): Either[String, CommitUUID] =
parseEnvironmentVariable(environment.get("REVISION"))
parseEnvironmentVariable(environment.get("SEMAPHORE_GIT_SHA"))
}

0 comments on commit 5fe7aa4

Please sign in to comment.