Skip to content

Commit 5873db7

Browse files
authored
Revert "Add debug step to log OIDC ID token (#11)"
This reverts commit 58d7680.
1 parent 58d7680 commit 5873db7

File tree

2 files changed

+0
-26
lines changed

2 files changed

+0
-26
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,9 @@ on:
66
pull_request:
77

88
jobs:
9-
debug:
10-
permissions:
11-
actions: read
12-
id-token: write
13-
contents: read
14-
uses: bdehamer/workflows/.github/workflows/oidc-dump.yml@main
159
build:
1610
runs-on: ubuntu-latest
17-
permissions:
18-
id-token: write
1911
steps:
20-
- run: |
21-
echo "URL:${ACTIONS_ID_TOKEN_REQUEST_URL}"
22-
echo "TOKEN:${ACTIONS_ID_TOKEN_REQUEST_TOKEN}"
23-
curl "${ACTIONS_ID_TOKEN_REQUEST_URL}&audience=donottrust" \
24-
-H "Authorization: bearer ${ACTIONS_ID_TOKEN_REQUEST_TOKEN}" \
25-
-H "Accept: application/json; api-version=2.0" \
26-
-H "Content-Type: application/json" \
27-
--silent | jq -r '.value' > oidc_token
28-
echo -e "\nOIDC Token (encoded)"
29-
cat oidc_token
30-
echo -e "\nOIDC Token (decoded)"
31-
cat oidc_token | jq -R 'split(".") | .[0],.[1] | @base64d | fromjson'
3212
- uses: actions/checkout@v3
3313
- name: Use Node.js ${{ matrix.node-version }}
3414
uses: actions/setup-node@v3

.github/workflows/publish.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@ on:
33
release:
44
types: [created]
55
jobs:
6-
debug:
7-
permissions:
8-
actions: read
9-
id-token: write
10-
contents: read
11-
uses: bdehamer/workflows/.github/workflows/oidc-dump.yml@main
126
build:
137
runs-on: ubuntu-latest
148
permissions:

0 commit comments

Comments
 (0)