We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d10ad83 commit ba258e6Copy full SHA for ba258e6
.github/workflows/nginx.org-make-aws.yml
@@ -48,6 +48,17 @@ jobs:
48
name: staging
49
50
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
62
- name: Debug context
63
run: |
64
echo "Repository: $GITHUB_REPOSITORY"
0 commit comments