This PR exposes the job display name as an environment variable. The job display name is exposed in webhooks as name(docs) so having it as an environment variable allows correlating data between the webhooks and processes that run in the runner.
This change would be specifically useful to improve Datadog's CI Visibility integration with GitHub Actions, where we currently require users to manually expose the job name as a variable for the integration to fully work (docs).
If this change is acceptable for the runner team, I am also happy to open a PR to update the documentation around default environment variables (docs).
This PR exposes the job display name as an environment variable. The job display name is exposed in webhooks as
name
(docs) so having it as an environment variable allows correlating data between the webhooks and processes that run in the runner.This change would be specifically useful to improve Datadog's CI Visibility integration with GitHub Actions, where we currently require users to manually expose the job name as a variable for the integration to fully work (docs).
If this change is acceptable for the runner team, I am also happy to open a PR to update the documentation around default environment variables (docs).