actions-oidc-debugger icon indicating copy to clipboard operation
actions-oidc-debugger copied to clipboard

Obtaining token to run in another repo

Open wassp-ds opened this issue 1 year ago • 1 comments

How do I checkout the repo? In other words, how to obtain the token? I am confused about the README instructions :slightly_smiling_face:

wassp-ds avatar Jul 11 '24 07:07 wassp-ds

I was able to use the action directly. This is how I called it.

Change the on tag as needed.

name: OIDC Debug
on: workflow_dispatch

jobs:
  oidc_debug_test:
    permissions:
      contents: read
      id-token: write
    runs-on: ubuntu-latest
    name: A test of the oidc debugger
    steps:
      - name: Debug OIDC Claims
        uses: github/actions-oidc-debugger@main
        with:
          audience: '${{ github.server_url }}/${{ github.repository_owner }}'

mcurole avatar Jul 12 '24 12:07 mcurole