Skip to content

Commit

Permalink
Allow test-infra repo to use packer role (#315)
Browse files Browse the repository at this point in the history
Allow the pytorch/test-infra repo to be able to use the packer role.

Issue: pytorch/test-infra#5992
Signed-off-by: Thanh Ha <[email protected]>
  • Loading branch information
zxiiro authored Dec 16, 2024
1 parent a3ab25e commit 827377b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ali/aws/391835788720/us-east-1/gha_roles.tf
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ resource "aws_iam_role" "gha-packer-role" {
StringLike = {
"token.actions.githubusercontent.com:sub" = [
"repo:pytorch/pytorch:environment:packer-build-env",
"repo:pytorch/pytorch-canary:environment:packer-build-env"
"repo:pytorch/pytorch-canary:environment:packer-build-env",
"repo:pytorch/test-infra:environment:packer-build-env"
]
}
}
Expand Down

0 comments on commit 827377b

Please sign in to comment.