Skip to content

Commit

Permalink
Update trust policy, workflow and README (#15)
Browse files Browse the repository at this point in the history
- [x] Transfer this to github.com/octo-sts/action
- [x] Merge this PR

Signed-off-by: Matt Moore <mattmoor@chainguard.dev>
  • Loading branch information
mattmoor committed Mar 13, 2024
1 parent 980538b commit 52806c9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/chainguard/use-action.sts.yaml
@@ -1,7 +1,7 @@
issuer: https://token.actions.githubusercontent.com
subject: repo:chainguard-dev/octo-sts-action:ref:refs/heads/main
subject: repo:octo-sts/action:ref:refs/heads/main
claim_pattern:
job_workflow_ref: chainguard-dev/octo-sts-action/.github/workflows/use-action.yaml@refs/heads/main
job_workflow_ref: octo-sts/action/.github/workflows/use-action.yaml@refs/heads/main

permissions:
contents: read
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/use-action.yaml
Expand Up @@ -15,9 +15,9 @@ jobs:

steps:
- id: octo-sts
uses: chainguard-dev/octo-sts-action@main
uses: octo-sts/action@main
with:
scope: chainguard-dev/octo-sts-action
scope: octo-sts/action
identity: use-action

- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -10,7 +10,7 @@ permissions:
id-token: write # Needed to federate tokens.

steps:
- uses: chainguard-dev/octo-sts-action@main
- uses: octo-sts/action@main
id: octo-sts
with:
scope: your-org/your-repo
Expand Down

0 comments on commit 52806c9

Please sign in to comment.