Skip to content

Commit

Permalink
Merge pull request #12137 from conradt-paf/patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Lopes authored Feb 16, 2022
2 parents 860fde6 + df91bf9 commit 0f2392a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ Edit the trust relationship to add the `sub` field to the validation conditions.

```json{:copy}
"Condition": {
"StringEquals": {
"ForAllValues:StringEquals": {
"token.actions.githubusercontent.com:aud": "sts.amazonaws.com",
"token.actions.githubusercontent.com:sub": "repo:octo-org/octo-repo:ref:refs/heads/octo-branch"
}
}
Expand Down

0 comments on commit 0f2392a

Please sign in to comment.