mirror of
https://github.com/coder/coder.git
synced 2025-07-21 01:28:49 +00:00
ci: Use GITHUB_REF_NAME to identify branch with DataDog (#313)
The "main" branch wasn't uploading properly before.
This commit is contained in:
@ -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),
|
||||
|
||||
|
Reference in New Issue
Block a user