Skip to content

Commit

Permalink
fix github action detection
Browse files Browse the repository at this point in the history
  • Loading branch information
ianic committed Nov 5, 2021
1 parent c92e4c4 commit 4e2be45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,5 +191,5 @@ func TestProfile() string {
}

func InGithubAction() bool {
return os.Getenv("GITHUB_ACTIONS") == "true" && os.Getenv("AWS_ACCESS_KEY_ID") == ""
return os.Getenv("GITHUB_ACTIONS") == "true" && os.Getenv("AWS_ACCESS_KEY_ID") != ""
}

0 comments on commit 4e2be45

Please sign in to comment.