We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8362b1f commit 761b40fCopy full SHA for 761b40f
pkg/ci/github/ci.go
@@ -24,7 +24,7 @@ func (_ Ci) Map() (env.Env, error) {
24
e.Repository = os.Getenv("GITHUB_REPOSITORY")
25
e.Commit = os.Getenv("GITHUB_SHA")
26
27
- // Github gives branches as: refs/heads/master, and tags as refs/tags/v1.1.0.
+ // GitHub gives branches as: refs/heads/master, and tags as refs/tags/v1.1.0.
28
// Remove prefix refs/{tags,heads} from the name before sending to Debricked.
29
gitHubRef := os.Getenv("GITHUB_REF")
30
branch := strings.Replace(gitHubRef, "refs/heads/", "", 1)
0 commit comments