Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Upgrade aws actions `configure-aws-credentials` to v6.1.1 (#74730)

Nemanja Glumacb95da2e56331
diff --git a/.github/actions/prepare-shoppy-e2e/action.yml b/.github/actions/prepare-shoppy-e2e/action.yml
index ed0581d9326..384cb8c3289 100644
--- a/.github/actions/prepare-shoppy-e2e/action.yml
+++ b/.github/actions/prepare-shoppy-e2e/action.yml
@@ -95,7 +95,7 @@ runs:
- name: Configure AWS credentials
if: ${{ steps.check-sample-app-branch.outputs.sample_app_branch_exists == 'true' }}
- uses: aws-actions/configure-aws-credentials@v4
+ uses: aws-actions/configure-aws-credentials@d979d5b3a71173a29b74b5b88418bfda9437d8854
with:
role-to-assume: ${{ inputs.shoppy-iam-role }}
role-session-name: GitHub_to_AWS_via_FederatedOIDC
diff --git a/.github/actions/upload-test-results/action.yml b/.github/actions/upload-test-results/action.yml
index d614d0f2b38..56217c1b430 100644
--- a/.github/actions/upload-test-results/action.yml
+++ b/.github/actions/upload-test-results/action.yml
@@ -26,7 +26,7 @@ runs:
using: "composite"
steps:
- name: Configure AWS credentials
- uses: aws-actions/configure-aws-credentials@v4
+ uses: aws-actions/configure-aws-credentials@d979d5b3a71173a29b74b5b88418bfda9437d885
with:
role-to-assume: ${{ inputs.role-to-assume }}
aws-region: ${{ inputs.aws-region }}
diff --git a/.github/workflows/athena.yml b/.github/workflows/athena.yml
index 9fc880cf4b9..dcb19676f4c 100644
--- a/.github/workflows/athena.yml
+++ b/.github/workflows/athena.yml
@@ -32,7 +32,7 @@ jobs:
babashka-version: 1.12.197
- name: Set up AWS CLI
- uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4
+ uses: aws-actions/configure-aws-credentials@d979d5b3a71173a29b74b5b88418bfda9437d885 # v6.1.1
with:
role-to-assume: ${{ secrets.CI_MAVEN_IAM_ROLE }}
aws-region: ${{ vars.AWS_REGION }}
diff --git a/.github/workflows/drivers-stress-test.yml b/.github/workflows/drivers-stress-test.yml
index 14eaa1e3c48..8e32e53ddf9 100644
--- a/.github/workflows/drivers-stress-test.yml
+++ b/.github/workflows/drivers-stress-test.yml
@@ -707,7 +707,7 @@ jobs:
contents: read
steps:
- name: Configure AWS credentials
- uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4
+ uses: aws-actions/configure-aws-credentials@d979d5b3a71173a29b74b5b88418bfda9437d885 # v6.1.1
with:
role-to-assume: ${{ secrets.CI_IAM_ROLE }}
role-session-name: GitHub_to_AWS_via_FederatedOIDC
diff --git a/.github/workflows/drivers.yml b/.github/workflows/drivers.yml
index d9161a802e7..5424ad3bca5 100644
--- a/.github/workflows/drivers.yml
+++ b/.github/workflows/drivers.yml
@@ -1550,7 +1550,7 @@ jobs:
contents: read
steps:
- name: Configure AWS credentials
- uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4
+ uses: aws-actions/configure-aws-credentials@d979d5b3a71173a29b74b5b88418bfda9437d885 # v6.1.1
with:
role-to-assume: ${{ secrets.CI_IAM_ROLE }}
role-session-name: GitHub_to_AWS_via_FederatedOIDC
diff --git a/.github/workflows/perf-test.yml b/.github/workflows/perf-test.yml
index fbd7687c46b..1dc1bc34e1a 100644
--- a/.github/workflows/perf-test.yml
+++ b/.github/workflows/perf-test.yml
@@ -17,7 +17,7 @@ jobs:
- name: Checkout source code
uses: actions/checkout@v6
- name: Configure AWS credentials
- uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4
+ uses: aws-actions/configure-aws-credentials@d979d5b3a71173a29b74b5b88418bfda9437d885 # v6.1.1
with:
role-to-assume: ${{ secrets.PR_ENV_IAM_ROLE }}
role-session-name: GitHub_to_AWS_via_FederatedOIDC
@@ -46,7 +46,7 @@ jobs:
tags: ${{ secrets.PR_ENV_AWS_ACCOUNT_ID }}.dkr.ecr.us-east-1.amazonaws.com/metabase-enterprise:pr${{ github.event.number }}
push: true
launch_perf_test:
- needs: [ build ]
+ needs: [build]
runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
name: Launch Perf Test
permissions:
@@ -97,7 +97,7 @@ jobs:
namespace: default
user: oidc-token
- name: Configure AWS credentials
- uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4
+ uses: aws-actions/configure-aws-credentials@d979d5b3a71173a29b74b5b88418bfda9437d885 # v6.1.1
with:
role-to-assume: ${{ secrets.PR_ENV_IAM_ROLE }}
role-session-name: GitHub_to_AWS_via_FederatedOIDC
diff --git a/.github/workflows/pr-env.yml b/.github/workflows/pr-env.yml
index f234e3e5d41..a2a83c777c8 100644
--- a/.github/workflows/pr-env.yml
+++ b/.github/workflows/pr-env.yml
@@ -5,12 +5,12 @@ on:
workflow_call:
inputs:
self_hosting:
- description: 'Deploy self-hosting stack'
+ description: "Deploy self-hosting stack"
required: false
type: boolean
default: false
analytics_dev_mode:
- description: 'Enable analytics development mode'
+ description: "Enable analytics development mode"
required: false
type: boolean
default: false
@@ -28,7 +28,7 @@ jobs:
- name: Checkout source code
uses: actions/checkout@v6
- name: Configure AWS credentials
- uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4
+ uses: aws-actions/configure-aws-credentials@d979d5b3a71173a29b74b5b88418bfda9437d885 # v6.1.1
with:
role-to-assume: ${{ secrets.PR_ENV_IAM_ROLE }}
role-session-name: GitHub_to_AWS_via_FederatedOIDC
@@ -108,7 +108,7 @@ jobs:
namespace: default
user: oidc-token
- name: Configure AWS credentials
- uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4
+ uses: aws-actions/configure-aws-credentials@d979d5b3a71173a29b74b5b88418bfda9437d885 # v6.1.1
with:
role-to-assume: ${{ secrets.PR_ENV_IAM_ROLE }}
role-session-name: GitHub_to_AWS_via_FederatedOIDC
@@ -177,7 +177,7 @@ jobs:
if: ${{ inputs.self_hosting }}
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4
with:
- version: 'latest'
+ version: "latest"
- name: Login to Quay.io
if: ${{ inputs.self_hosting }}
run: |
diff --git a/.github/workflows/release-log.yml b/.github/workflows/release-log.yml
index 7cd5d4ba1b6..0fccdd1f73e 100644
--- a/.github/workflows/release-log.yml
+++ b/.github/workflows/release-log.yml
@@ -32,7 +32,7 @@ jobs:
if: ${{ github.event_name != 'push' || github.repository == 'metabase/metabase' }}
steps:
- name: Configure AWS credentials
- uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4
+ uses: aws-actions/configure-aws-credentials@d979d5b3a71173a29b74b5b88418bfda9437d885 # v6.1.1
with:
role-to-assume: ${{ secrets.CI_RELEASE_IAM_ROLE }}
aws-region: ${{ vars.AWS_REGION }}
diff --git a/.github/workflows/release-tag.yml b/.github/workflows/release-tag.yml
index 184534bd651..784a58be015 100644
--- a/.github/workflows/release-tag.yml
+++ b/.github/workflows/release-tag.yml
@@ -151,7 +151,7 @@ jobs:
edition: ${{ fromJson(needs.check-version.outputs.edition_matrix) }}
steps:
- name: Configure AWS credentials
- uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4
+ uses: aws-actions/configure-aws-credentials@d979d5b3a71173a29b74b5b88418bfda9437d885 # v6.1.1
with:
role-to-assume: ${{ secrets.CI_RELEASE_IAM_ROLE }}
aws-region: ${{ vars.AWS_REGION }}
@@ -304,7 +304,7 @@ jobs:
AWS_REGION: ${{ vars.AWS_REGION }}
steps:
- name: Configure AWS credentials
- uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4
+ uses: aws-actions/configure-aws-credentials@d979d5b3a71173a29b74b5b88418bfda9437d885 # v6.1.1
with:
role-to-assume: ${{ secrets.CI_RELEASE_IAM_ROLE }}
aws-region: ${{ vars.AWS_REGION }}
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 4b43316421e..88c3d3d2a55 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -171,7 +171,7 @@ jobs:
edition: [oss, ee]
steps:
- name: Configure AWS credentials
- uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4
+ uses: aws-actions/configure-aws-credentials@d979d5b3a71173a29b74b5b88418bfda9437d885 # v6.1.1
with:
role-to-assume: ${{ secrets.CI_RELEASE_IAM_ROLE }}
aws-region: ${{ vars.AWS_REGION }}
@@ -507,7 +507,7 @@ jobs:
AWS_REGION: ${{ vars.AWS_REGION }}
steps:
- name: Configure AWS credentials
- uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4
+ uses: aws-actions/configure-aws-credentials@d979d5b3a71173a29b74b5b88418bfda9437d885 # v6.1.1
with:
role-to-assume: ${{ secrets.CI_RELEASE_IAM_ROLE }}
aws-region: ${{ vars.AWS_REGION }}
diff --git a/.github/workflows/set-announce-url.yml b/.github/workflows/set-announce-url.yml
index 466848de98e..92a9b93a068 100644
--- a/.github/workflows/set-announce-url.yml
+++ b/.github/workflows/set-announce-url.yml
@@ -5,7 +5,7 @@ on:
workflow_dispatch:
inputs:
announcement-url:
- description: 'The URL of the announcement'
+ description: "The URL of the announcement"
type: string
required: true
@@ -21,11 +21,11 @@ jobs:
- name: Validate input
if: ${{ !startsWith(inputs.announcement-url, 'http') }}
run: |
- echo "announcement url must be a valid URL, got: ${{ inputs.announcement-url }}"
- exit 1
+ echo "announcement url must be a valid URL, got: ${{ inputs.announcement-url }}"
+ exit 1
- name: Configure AWS credentials
- uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4
+ uses: aws-actions/configure-aws-credentials@d979d5b3a71173a29b74b5b88418bfda9437d885 # v6.1.1
with:
role-to-assume: ${{ secrets.CI_RELEASE_IAM_ROLE }}
aws-region: ${{ vars.AWS_REGION }}
diff --git a/.github/workflows/tag-for-release.yml b/.github/workflows/tag-for-release.yml
index ab825f839f6..e1a37d001d3 100644
--- a/.github/workflows/tag-for-release.yml
+++ b/.github/workflows/tag-for-release.yml
@@ -241,7 +241,7 @@ jobs:
timeout-minutes: 15
steps:
- name: Configure AWS credentials
- uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4
+ uses: aws-actions/configure-aws-credentials@d979d5b3a71173a29b74b5b88418bfda9437d885 # v6.1.1
with:
role-to-assume: ${{ secrets.CI_RELEASE_IAM_ROLE }}
aws-region: ${{ vars.AWS_REGION }}