Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 503d09c commit dd36317Copy full SHA for dd36317
scripts/datadog-cireport/main.go
@@ -78,7 +78,7 @@ func main() {
78
"ci.provider.name": "github",
79
"ci.workspace_path": os.Getenv("GITHUB_WORKSPACE"),
80
81
- "git.branch": os.Getenv("GITHUB_HEAD_REF"),
+ "git.branch": os.Getenv("GITHUB_REF_NAME"),
82
"git.commit.sha": githubSHA,
83
"git.repository_url": fmt.Sprintf("%s/%s.git", githubServerURL, githubRepository),
84
0 commit comments