Skip to content

Commit

Permalink
ci: Use GITHUB_REF_NAME to identify branch with DataDog (#313)
Browse files Browse the repository at this point in the history
The "main" branch wasn't uploading properly before.
  • Loading branch information
kylecarbs committed Feb 17, 2022
1 parent 503d09c commit dd36317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/datadog-cireport/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func main() {
"ci.provider.name": "github",
"ci.workspace_path": os.Getenv("GITHUB_WORKSPACE"),

"git.branch": os.Getenv("GITHUB_HEAD_REF"),
"git.branch": os.Getenv("GITHUB_REF_NAME"),
"git.commit.sha": githubSHA,
"git.repository_url": fmt.Sprintf("%s/%s.git", githubServerURL, githubRepository),

Expand Down

0 comments on commit dd36317

Please sign in to comment.