diff --git a/testing/key.go b/testing/key.go index 404460b..eba0950 100644 --- a/testing/key.go +++ b/testing/key.go @@ -16,8 +16,10 @@ func WriteKeys(rootPath string) error { isGitHubActions := os.Getenv("GITHUB_ACTIONS") == "true" var keyPerm os.FileMode if isGitHubActions { + logrus.Infof("Running in GitHub Actions") keyPerm = 0444 // Use 0444 if running in GitHub Actions } else { + logrus.Infof("Not running in GitHub Actions") keyPerm = 0600 // Use 0600 if not running in GitHub Actions (default case) } pkPath := filepath.Join(rootPath, "id_rsa")