From 5718da8276b50dc48cee8833c5a1dab752cfad39 Mon Sep 17 00:00:00 2001 From: Dan Pantry Date: Thu, 25 Apr 2024 19:29:00 -0700 Subject: [PATCH] Debug OIDC --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 09df84a1..8503edbb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,8 @@ on: branches: [main] push: branches: [main] + workflow_dispatch: + branches: [main] jobs: client-test: @@ -22,3 +24,22 @@ jobs: with: go-version: "1.22" - run: go test ./... + + oidc_debug_test: + permissions: + contents: read + id-token: write + runs-on: ubuntu-latest + name: A test of the oidc debugger + steps: + - name: Checkout actions-oidc-debugger + uses: actions/checkout@v3 + with: + repository: github/actions-oidc-debugger + ref: main + token: ${{ secrets.your-checkout-token }} + path: ./.github/actions/actions-oidc-debugger + - name: Debug OIDC Claims + uses: ./.github/actions/actions-oidc-debugger + with: + audience: 'https://github.com/github'