Skip to content

presubmit: checkout PR ref #37

presubmit: checkout PR ref

presubmit: checkout PR ref #37

Workflow file for this run

name: Use Action
on:
pull_request_target:
branches: ['main']
permissions:
id-token: write # Needed to federate with octo-sts
jobs:
use-action:
name: Use Action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{github.head_ref}}
- id: octo-sts
uses: ./
with:
scope: octo-sts/action
identity: use-action
- env:
GITHUB_TOKEN: ${{ steps.octo-sts.outputs.token }}
run: gh repo list | grep octo-sts