Skip to content

Commit

Permalink
Merge branch 'octo-sts:main' into retry
Browse files Browse the repository at this point in the history
  • Loading branch information
imjasonh authored Mar 18, 2024
2 parents 9603657 + a2f9fdc commit 90ef5c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/chainguard/use-action.sts.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
issuer: https://token.actions.githubusercontent.com
subject: repo:octo-sts/action:ref:refs/heads/main
subject: repo:octo-sts/action:pull_request
claim_pattern:
job_workflow_ref: octo-sts/action/.github/workflows/use-action.yaml@refs/heads/main
workflow_ref: octo-sts/action/\.github/workflows/use-action\.yaml@refs/heads/main

permissions:
contents: read
issues: write
5 changes: 2 additions & 3 deletions .github/workflows/use-action.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Use Action

on:
workflow_dispatch:
push:
pull_request_target:
branches: ['main']

permissions:
Expand All @@ -23,4 +22,4 @@ jobs:
- uses: actions/checkout@v4
- env:
GITHUB_TOKEN: ${{ steps.octo-sts.outputs.token }}
run: gh issue create --title "Use Action" --body "This issue was created using an Octo STS token"
run: gh repo list | grep octo-sts

0 comments on commit 90ef5c6

Please sign in to comment.