From 52806c99a1b559e16cbfe81c265995d8a7725268 Mon Sep 17 00:00:00 2001 From: Matt Moore Date: Tue, 12 Mar 2024 17:36:32 -0700 Subject: [PATCH] Update trust policy, workflow and README (#15) - [x] Transfer this to github.com/octo-sts/action - [x] Merge this PR Signed-off-by: Matt Moore --- .github/chainguard/use-action.sts.yaml | 4 ++-- .github/workflows/use-action.yaml | 4 ++-- README.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/chainguard/use-action.sts.yaml b/.github/chainguard/use-action.sts.yaml index 286af14..d287ca7 100644 --- a/.github/chainguard/use-action.sts.yaml +++ b/.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 diff --git a/.github/workflows/use-action.yaml b/.github/workflows/use-action.yaml index 49c97fc..1fa3d96 100644 --- a/.github/workflows/use-action.yaml +++ b/.github/workflows/use-action.yaml @@ -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 diff --git a/README.md b/README.md index 82e6efa..da5473c 100644 --- a/README.md +++ b/README.md @@ -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