Skip to content

Commit a6591cf

Browse files
authored
Add RunnerEnvironment to Telemetry (microsoft#1357)
Add RunnerEnvironment to Telemetry to help determine if the action was run on a GitHub-hosted or self-hosted machine.
1 parent 006019b commit a6591cf

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Actions/TelemetryHelper.psm1

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ function AddTelemetryEvent()
6969

7070
Add-TelemetryProperty -Hashtable $Data -Key 'WorkflowName' -Value $ENV:GITHUB_WORKFLOW
7171
Add-TelemetryProperty -Hashtable $Data -Key 'RunnerOs' -Value $ENV:RUNNER_OS
72+
Add-TelemetryProperty -Hashtable $Data -Key 'RunnerEnvironment' -Value $ENV:RUNNER_ENVIRONMENT
7273
Add-TelemetryProperty -Hashtable $Data -Key 'RunId' -Value $ENV:GITHUB_RUN_ID
7374
Add-TelemetryProperty -Hashtable $Data -Key 'RunNumber' -Value $ENV:GITHUB_RUN_NUMBER
7475
Add-TelemetryProperty -Hashtable $Data -Key 'RunAttempt' -Value $ENV:GITHUB_RUN_ATTEMPT

RELEASENOTES.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
- Issue 1296 Make property "appFolders" optional
44
- Issue 1344 Experimental feature "git submodules" seems to be a breaking change
5+
- Issue 1305 Extra telemetry Property RepositoryOwner and RepositoryName¨
6+
- Add RunnerEnvironment to Telemetry
57

68
### New Repository Settings
79

0 commit comments

Comments
 (0)