Skip to content

Enhance telemetry to record unique workflow run IDs and identify GitHub/Self-hosted runner - #478

Merged
Yan Xu (YanaXu) merged 1 commit into
masterfrom
csy/telemetry-0731
Aug 1, 2024
Merged

Enhance telemetry to record unique workflow run IDs and identify GitHub/Self-hosted runner#478
Yan Xu (YanaXu) merged 1 commit into
masterfrom
csy/telemetry-0731

Conversation

@MoChilia

Copy link
Copy Markdown
Member

https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/variables

  • RUNNER_ENVIRONMENT: The environment of the runner executing the job. Possible values are: github-hosted for GitHub-hosted runners provided by GitHub, and self-hosted for self-hosted runners configured by the repository owner.
  • GITHUB_RUN_ID: A unique number for each workflow run within a repository. This number does not change if you re-run the workflow run. For example, 1658821493.
    https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/variables

An example of the telemetry recording:

GITHUBACTIONS/AzureLogin@v2_aaaaaaaaaaaaaaaaaaaaa_github-hosted_10176215932

@YanaXu
Yan Xu (YanaXu) merged commit 3cf32af into master Aug 1, 2024
@YanaXu
Yan Xu (YanaXu) deleted the csy/telemetry-0731 branch August 1, 2024 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants