Skip to content

use await instead of then (#10) #26

use await instead of then (#10)

use await instead of then (#10) #26

Workflow file for this run

name: Use Action
on:
workflow_dispatch:
push:
branches: ['main']
permissions:
id-token: write # Needed to federate with octo-sts
jobs:
use-action:
name: Use Action
runs-on: ubuntu-latest
steps:
- id: octo-sts
uses: chainguard-dev/octo-sts-action@main
with:
scope: chainguard-dev/octo-sts-action
identity: use-action
- 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"