Skip to content

Commit f6ba189

Browse files
author
Martin Lopes
authored
Update about-security-hardening-with-openid-connect.md (#25825)
1 parent c45ceda commit f6ba189

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ You can configure a subject that filters for a specific [environment](/actions/d
164164

165165
#### Filtering for `pull_request` events
166166

167-
The subject claim includes the `pull_request` string when the workflow is triggered by a pull request event.
167+
The subject claim includes the `pull_request` string when the workflow is triggered by a pull request event, but only if the job doesn't reference an environment.
168168

169169
You can configure a subject that filters for the [`pull_request`](/actions/learn-github-actions/events-that-trigger-workflows#pull_request) event. In this example, the workflow run must have been triggered by a `pull_request` event in a repository named `octo-repo` that is owned by the `octo-org` organization:
170170

0 commit comments

Comments
 (0)