diff --git a/.github/workflows/continuous-monitoring.yml b/.github/workflows/continuous-monitoring.yml index 31fe6242..907029e1 100644 --- a/.github/workflows/continuous-monitoring.yml +++ b/.github/workflows/continuous-monitoring.yml @@ -5,6 +5,10 @@ on: schedule: - cron: '0/10 * * * *' +permissions: + id-token: write + contents: read + jobs: smoke-tests: name: Run smoke tests @@ -14,10 +18,9 @@ jobs: uses: actions/checkout@v2 - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v4 with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + role-to-assume: ${{ secrets.AWS_INTEG_TEST_ROLE_ARN }} aws-region: us-east-1 - name: Setup Node