Skip to content

Commit f74c220

Browse files
committed
ci: Remove redundant usage of aws-actions/configure-aws-credentials
Since https://github.com/guardian/actions-riff-raff/releases/tag/v4.0.0 and #1241 usage of `aws-actions/configure-aws-credentials` is not necessary.
1 parent e6463ad commit f74c220

10 files changed

Lines changed: 0 additions & 50 deletions

.github/workflows/event-consumer.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ jobs:
2929
- name: Setup JDK and sbt
3030
uses: guardian/setup-scala@v1
3131

32-
- uses: aws-actions/configure-aws-credentials@v2
33-
with:
34-
aws-region: eu-west-1
35-
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
36-
3732
- name: Compile, test and assembly
3833
run: sbt "project commoneventconsumer" "compile" "test" "project eventconsumer" "compile" "test" "assembly"
3934

.github/workflows/fake-breaking-news.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ jobs:
3131
- name: Setup JDK and sbt
3232
uses: guardian/setup-scala@v1
3333

34-
- uses: aws-actions/configure-aws-credentials@v2
35-
with:
36-
aws-region: eu-west-1
37-
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
38-
3934
- name: Compile, test and assembly
4035
run: sbt "project common" "compile" "test" "project api-models" "compile" "test" "project fakebreakingnewslambda" "compile" "test" "assembly"
4136

.github/workflows/football.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ jobs:
3030
- name: Setup JDK and sbt
3131
uses: guardian/setup-scala@v1
3232

33-
- uses: aws-actions/configure-aws-credentials@v2
34-
with:
35-
aws-region: eu-west-1
36-
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
37-
3833
- name: Compile, test and assembly
3934
run: sbt "project api-models" "compile" "test" "project football" "compile" "test" "assembly"
4035

.github/workflows/notification-worker-lambdas.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,6 @@ jobs:
8989
npm test
9090
npm run synth
9191
92-
- uses: aws-actions/configure-aws-credentials@v2
93-
with:
94-
aws-region: eu-west-1
95-
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
96-
9792
- name: Upload to riff-raff
9893
uses: guardian/actions-riff-raff@v4
9994
with:

.github/workflows/notification.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@ jobs:
3232
- name: Setup JDK and sbt
3333
uses: guardian/setup-scala@v1
3434

35-
- uses: aws-actions/configure-aws-credentials@v2
36-
with:
37-
aws-region: eu-west-1
38-
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
39-
4035
- name: Compile, test and package
4136
run: sbt "project common" "compile" "test" "project commonscheduledynamodb" "compile" "test" "project notification" "compile" "test" "debian:packageBin"
4237

.github/workflows/registration.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ jobs:
3939
cache-dependency-path: cdk/package-lock.json
4040
node-version-file: .nvmrc
4141

42-
- uses: aws-actions/configure-aws-credentials@v2
43-
with:
44-
aws-region: eu-west-1
45-
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
46-
4742
- name: CDK synth
4843
run: |
4944
cd cdk

.github/workflows/report-extractor.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ jobs:
3030
- name: Setup JDK and sbt
3131
uses: guardian/setup-scala@v1
3232

33-
- uses: aws-actions/configure-aws-credentials@v2
34-
with:
35-
aws-region: eu-west-1
36-
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
37-
3833
- name: Compile, test and assembly
3934
run: sbt "project common" "compile" "test" "project reportextractor" "compile" "test" "assembly"
4035

.github/workflows/report.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@ jobs:
3232
- name: Setup JDK and sbt
3333
uses: guardian/setup-scala@v1
3434

35-
- uses: aws-actions/configure-aws-credentials@v2
36-
with:
37-
aws-region: eu-west-1
38-
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
39-
4035
- name: Compile, test and package
4136
run: sbt "project common" "compile" "test" "project report" "compile" "test" "debian:packageBin"
4237

.github/workflows/schedule-lambda.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ jobs:
3030
- name: Setup JDK and sbt
3131
uses: guardian/setup-scala@v1
3232

33-
- uses: aws-actions/configure-aws-credentials@v2
34-
with:
35-
aws-region: eu-west-1
36-
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
37-
3833
- name: Compile, test and assembly
3934
run: sbt "project commonscheduledynamodb" "compile" "test" "project schedule" "compile" "test" "assembly"
4035

.github/workflows/slo-monitor.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@ jobs:
3737
cache-dependency-path: cdk/package-lock.json
3838
node-version-file: .nvmrc
3939

40-
- uses: aws-actions/configure-aws-credentials@v2
41-
with:
42-
aws-region: eu-west-1
43-
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
44-
4540
- name: Compile, test and assembly
4641
run: sbt "project commoneventconsumer" "compile" "test" "project slomonitor" "compile" "test" "assembly"
4742

0 commit comments

Comments
 (0)