Skip to content

Commit c48fd0a

Browse files
committed
add sts policy for github automation
1 parent 0b66a80 commit c48fd0a

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright 2025 Chainguard, Inc.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
issuer: https://token.actions.githubusercontent.com
5+
subject: repo:chainguard-dev/infra:ref:refs/heads/main
6+
claim_pattern:
7+
job_workflow_ref: chainguard-dev/infra/.github/workflows/.terraform.yaml@.*
8+
9+
permissions:
10+
members: write # to add/remove GitHub members
11+
metadata: read # to read metadata about the org
12+
13+
repositories: [] # Act over all of the repos in the org.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright 2025 Chainguard, Inc.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
issuer: https://token.actions.githubusercontent.com
5+
subject_pattern: repo:chainguard-dev/infra:.*
6+
claim_pattern:
7+
job_workflow_ref: chainguard-dev/infra/.github/workflows/.terraform.yaml@.*
8+
9+
permissions:
10+
members: write # to add/remove GitHub members
11+
metadata: read # to read metadata about the org
12+
13+
repositories: [] # Act over all of the repos in the org.

0 commit comments

Comments
 (0)