Skip to content

Commit

Permalink
Print GITHUB_SHA on error "Current Action not found!"
Browse files Browse the repository at this point in the history
  • Loading branch information
norio-nomura committed Aug 26, 2019
1 parent cec970c commit 15da643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Lib/GitHub.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ extension GitHub.Repository {
public func currentCheckRun() -> CheckRun? {
guard let sha = environment("GITHUB_SHA") else { return nil }
guard let checkRun = findCheckRun(for: sha) else {
print("Current Action not found!")
print("Current Action not found! GITHUB_SHA: \(sha)")
return nil
}
return checkRun
Expand Down

0 comments on commit 15da643

Please sign in to comment.