From 36222a8f0ed7176dba50e169fbba2f052334f610 Mon Sep 17 00:00:00 2001 From: Vincent Dansereau Date: Thu, 16 May 2024 11:16:33 -0400 Subject: [PATCH 1/2] chore(README,actions.yaml): Improve documentation of the audience parameter --- README.md | 2 +- action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 21c57a0..287bf4e 100644 --- a/README.md +++ b/README.md @@ -29,5 +29,5 @@ jobs: - name: Debug OIDC Claims uses: ./.github/actions/actions-oidc-debugger with: - audience: 'https://github.com/github' + audience: '${{ github.server_url }}/${{ github.repository_owner }}' ``` diff --git a/action.yml b/action.yml index 3aef232..78bf1cb 100644 --- a/action.yml +++ b/action.yml @@ -2,7 +2,7 @@ name: 'OIDC Debugger' description: 'Print the GitHub Actions OIDC claims.' inputs: audience: - description: 'The audience to use when requesting the JWT.' + description: 'The audience to use when requesting the JWT. Your Github server URL and repository owner.' required: true runs: using: 'docker' From d8533275cab094fe96779188f6db3fa399da01f4 Mon Sep 17 00:00:00 2001 From: Vincent Dansereau <32471663+13013SwagR@users.noreply.github.com> Date: Mon, 3 Jun 2024 14:16:53 -0400 Subject: [PATCH 2/2] Update action.yml Co-authored-by: nobe4 --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 78bf1cb..447267b 100644 --- a/action.yml +++ b/action.yml @@ -2,7 +2,7 @@ name: 'OIDC Debugger' description: 'Print the GitHub Actions OIDC claims.' inputs: audience: - description: 'The audience to use when requesting the JWT. Your Github server URL and repository owner.' + description: 'The audience to use when requesting the JWT. Your Github server URL and repository owner (e.g. https://github.com/github).' required: true runs: using: 'docker'