Skip to content

Commit ba258e6

Browse files
authored
Update nginx.org-make-aws.yml
1 parent d10ad83 commit ba258e6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/nginx.org-make-aws.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,17 @@ jobs:
4848
name: staging
4949

5050
steps:
51+
52+
- name: Decode OIDC sub
53+
uses: actions/github-script@v7
54+
id: oidc
55+
with:
56+
script: |
57+
const idToken = await core.getIDToken();
58+
const payload = idToken.split('.')[1];
59+
const decoded = Buffer.from(payload, 'base64').toString('utf8');
60+
core.info(decoded);
61+
5162
- name: Debug context
5263
run: |
5364
echo "Repository: $GITHUB_REPOSITORY"

0 commit comments

Comments
 (0)