Skip to content

Commit 5872846

Browse files
authored
Update s3-upload.yml
1 parent 0b3faac commit 5872846

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/s3-upload.yml

+3-6
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,10 @@ jobs:
1111
env:
1212
AWS_REGION: us-east-2
1313
runs-on: ubuntu-latest
14+
permissions:
15+
id-token: write
16+
contents: read
1417
steps:
15-
16-
- name: Git clone the repository
17-
uses: actions/checkout@v1
18-
19-
20-
################### Steps mentioned in this block would later be moved to the cloud’s login action#######################
2118
- run: |
2219
IDTOKEN=$(curl -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" "$ACTIONS_ID_TOKEN_REQUEST_URL&audience=sigstore" | jq -r '.value')
2320
echo $IDTOKEN

0 commit comments

Comments
 (0)