Skip to content

Add Accept header for github revoke token (#13) #27

Add Accept header for github revoke token (#13)

Add Accept header for github revoke token (#13) #27

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"