Skip to content

Commit

Permalink
Add RunnerEnvironment to Telemetry (#1357)
Browse files Browse the repository at this point in the history
Add RunnerEnvironment to Telemetry to help determine if the action was
run on a GitHub-hosted or self-hosted machine.
  • Loading branch information
aholstrup1 authored Dec 12, 2024
1 parent 006019b commit a6591cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Actions/TelemetryHelper.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ function AddTelemetryEvent()

Add-TelemetryProperty -Hashtable $Data -Key 'WorkflowName' -Value $ENV:GITHUB_WORKFLOW
Add-TelemetryProperty -Hashtable $Data -Key 'RunnerOs' -Value $ENV:RUNNER_OS
Add-TelemetryProperty -Hashtable $Data -Key 'RunnerEnvironment' -Value $ENV:RUNNER_ENVIRONMENT
Add-TelemetryProperty -Hashtable $Data -Key 'RunId' -Value $ENV:GITHUB_RUN_ID
Add-TelemetryProperty -Hashtable $Data -Key 'RunNumber' -Value $ENV:GITHUB_RUN_NUMBER
Add-TelemetryProperty -Hashtable $Data -Key 'RunAttempt' -Value $ENV:GITHUB_RUN_ATTEMPT
Expand Down
2 changes: 2 additions & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

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

### New Repository Settings

Expand Down

0 comments on commit a6591cf

Please sign in to comment.