From 89a886d38c2889bf0ee6281dbcd4b0ccbd356ce4 Mon Sep 17 00:00:00 2001 From: Ashleigh Carr Date: Wed, 21 Feb 2024 15:27:58 +0000 Subject: [PATCH] Bump `actions-riff-raff` to V4 --- .github/workflows/ci.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c175bf9..206b01e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,20 +16,13 @@ jobs: # See https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token permissions: - # required by aws-actions/configure-aws-credentials + # required by guardian/actions-riff-raff id-token: write contents: read pull-requests: write # required by guardian/actions-riff-raff steps: - uses: actions/checkout@v4 - # Setup AWS credentials to enable uploading to S3 for Riff-Raff. - # See https://github.com/aws-actions/configure-aws-credentials - - uses: aws-actions/configure-aws-credentials@v4 - with: - role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }} - aws-region: eu-west-1 - - name: Setup Node uses: actions/setup-node@v4 with: @@ -46,9 +39,10 @@ jobs: run: ./scripts/ci.sh - name: Upload to riff-raff - uses: guardian/actions-riff-raff@v3 + uses: guardian/actions-riff-raff@v4 with: app: snyk-tag-monitor + roleArn: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }} githubToken: ${{ secrets.GITHUB_TOKEN }} commentingStage: INFRA projectName: security::snyk-tag-monitor