From 23fa651fb064bda4562ed77deebcd7b53fdc6e9f Mon Sep 17 00:00:00 2001 From: Pantelis <85220850+Pantelis-Santorinios@users.noreply.github.com> Date: Thu, 25 May 2023 20:01:28 +0200 Subject: [PATCH] Update about-security-hardening-with-openid-connect.md (#37222) Co-authored-by: hubwriter --- .../about-security-hardening-with-openid-connect.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect.md b/content/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect.md index 4ac78f300b..6a797783e0 100644 --- a/content/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect.md +++ b/content/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect.md @@ -125,7 +125,7 @@ The token also includes custom claims provided by {% data variables.product.prod {%- ifversion actions-OIDC-custom-claim-enterprise %} | `enterprise`| The name of the enterprise that contains the repository from where the workflow is running. | {%- endif %} -| `environment`| The name of the environment used by the job. | +| `environment`| The name of the environment used by the job. To include the `environment` claim you must reference an environment. | | `event_name`| The name of the event that triggered the workflow run. | | `head_ref`| The source branch of the pull request in a workflow run. | | `job_workflow_ref`| For jobs using a reusable workflow, the ref path to the reusable workflow. For more information, see "[AUTOTITLE](/actions/deployment/security-hardening-your-deployments/using-openid-connect-with-reusable-workflows)." |