Skip to content

Commit 2ebc574

Browse files
authored
fix(actions): add missing aws credentials config (#34)
1 parent b590fce commit 2ebc574

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/prereleased.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,12 @@ jobs:
190190
id: count_vulnerabilities
191191
run: echo "value=$(grep -cE "(medium|high|critical) vulnerability" ${{ steps.scan_sbom.outputs.sarif }})" >> $GITHUB_OUTPUT
192192

193+
- name: Configure AWS credentials
194+
uses: aws-actions/configure-aws-credentials@v1
195+
with:
196+
role-to-assume: ${{ secrets.AWS_S3_SBOMS_ROLE_ARN }}
197+
aws-region: ${{ env.AWS_S3_REGION }}
198+
193199
- name: Copy SBOM to S3
194200
run: |
195201
aws s3 cp ${{ env.SBOM_FILENAME }}.spdx.json s3://repos-sboms/${{ github.event.repository.name }}/lambda-${{ env.SBOM_FILENAME }}.spdx.json

0 commit comments

Comments
 (0)