Skip to content

Update trust policy, workflow and README (#15) #28

Update trust policy, workflow and README (#15)

Update trust policy, workflow and README (#15) #28

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: octo-sts/action@main
with:
scope: 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"