chore(github): Bump aws-actions/configure-aws-credentials from 2 to 4

Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 2 to 4.

Release notes

Sourced from aws-actions/configure-aws-credentials's releases.

v4

This tag tracks the latest v4.x.x release

v4.0.0

See the changelog for details about the changes included in this release.

v3.0.2

See the changelog for details about the changes included in this release.

v3.0.1

See the changelog for details about the changes included in this release.

v3.0.0

See the changelog for details about the changes included in this release.

v3

This tag tracks the latest v3.x.x release

v2.2.0

See the changelog for details about the changes included in this release.

v2.1.0

See the changelog for details about the changes included in this release.

Changelog

Sourced from aws-actions/configure-aws-credentials's changelog.

3.0.1 (2023-08-24)

Features

Can configure special-characters-workaround to keep retrying credentials if the returned
credentials have special characters (Fixes #599)

Bug Fixes

Fixes #792: Action fails when intending to use existing credentials

Minor typo fix from @ubaid-ansari21

Changes to existing functionality

Special characters are now allowed in returned credential variables unless you configure the
special-characters-workaround option

3.0.0 (2023-08-21)

Features

Can configure max-retries and disable-retry to modify retry functionality when the assume role call fails

Set returned credentials as step outputs with output-credentials

Clear AWS related environment variables at the start of the action with unset-current-credentials

Unique role identifier is now printed in the workflow logs

Bug Fixes

Can't use credentials if they contain a special character

Retry functionality added when generating the JWT fails

Can now use webIdentityTokenFile option

Branch name validation too strict

JS SDK v2 deprecation warning in workflow logs

Changes to existing functionality

Default session duration is now 1 hour in all cases (from 6 hours in some cases)

Account ID will not be masked by default in logs

2.2.0 (2023-05-31)

Features

inline-session-policy prop enables assuming a role with inline session policies (d00f6c6)

managed-session-policies prop enables assuming a role with managed policy arns (d00f6c6)

2.1.0 (2023-05-31)

Features

role-chaining prop enables role chaining use case (6fbd316)

2.0.0 (2023-03-06)

Features

Version bump to use Node 16 by default.

1.7.0 (2022-08-03)

... (truncated)

Commits

8c3f20d chore: release v4 (#840)

50ac8dd chore: release v3.0.2 (#836)

a2593d0 chore: Bump @vercel/ncc from 0.36.1 to 0.38.0 (#834)

7a8dec8 chore: Bump jest and @types/jest (#832)

2b89f8a chore: Bump @vercel/ncc from 0.34.0 to 0.36.1 (#830)

6488aec chore: Bump @jest/globals from 29.6.2 to 29.6.4 (#829)

856a411 chore: Bump jest-junit from 13.2.0 to 16.0.0 (#828)

7e7ee94 chore: Bump @types/node from 14.18.54 to 20.5.9 (#827)

8ad39aa chore: Update dist

2014030 chore: Bump @typescript-eslint/eslint-plugin from 5.62.0 to 6.6.0 (#825)

Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=aws-actions/configure-aws-credentials&package-manager=github_actions&previous-version=2&new-version=4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

dependencies

Pull requests that update a dependency file

Pull requests that update GitHub Actions code

openjd-model-for-python

Provides a Python implementation of the data model for Open Job Description's template schemas.


@@ -26,7 +26,7 @@ jobs:
         with:
           python-version: '3.9'
       - name: Configure AWS credentials
-        uses: aws-actions/configure-aws-credentials@v3
+        uses: aws-actions/configure-aws-credentials@v4
         with:
           role-to-assume: ${{ secrets.AWS_CODEARTIFACT_ROLE }}
           aws-region: us-west-2

```suggestion
          aws-region: us-west-2
          mask-aws-account-id: true
```


@@ -60,7 +60,7 @@ jobs:
         id-token: write
       steps:
         - name: Configure AWS credentials
-          uses: aws-actions/configure-aws-credentials@v2
+          uses: aws-actions/configure-aws-credentials@v4
           with:
             role-to-assume: ${{ secrets.AWS_CODEBUILD_RELEASE_PUBLISH_ROLE }}
             aws-region: us-west-2

```suggestion
            aws-region: us-west-2
            mask-aws-account-id: true
```


@@ -42,7 +42,7 @@ jobs:
         python-version: ${{ matrix.python-version }}

     - name: Configure AWS credentials
-      uses: aws-actions/configure-aws-credentials@v3
+      uses: aws-actions/configure-aws-credentials@v4
       with:
         role-to-assume: ${{ secrets.AWS_CODEARTIFACT_ROLE }}
         aws-region: us-west-2

```suggestion
        aws-region: us-west-2
        mask-aws-account-id: true
```


@dependabot recreate


tree a0f0737e62ab4fe1fb7604c92432e42f45548ae6
parent bc3497f9ff2fb1cbf50e686e05f290092b2cda9d
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1695304034 +0000
committer GitHub <noreply@github.com> 1695304034 +0000

chore(github): Bump aws-actions/configure-aws-credentials from 2 to 4

Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 2 to 4.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v2...v4)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

@@ -26,7 +26,7 @@ jobs:
         with:
           python-version: '3.9'
       - name: Configure AWS credentials
-        uses: aws-actions/configure-aws-credentials@v3
+        uses: aws-actions/configure-aws-credentials@v4
         with:
           role-to-assume: ${{ secrets.AWS_CODEARTIFACT_ROLE }}
           aws-region: us-west-2
@@ -60,7 +60,7 @@ jobs:
         id-token: write
       steps:
         - name: Configure AWS credentials
-          uses: aws-actions/configure-aws-credentials@v2
+          uses: aws-actions/configure-aws-credentials@v4
           with:
             role-to-assume: ${{ secrets.AWS_CODEBUILD_RELEASE_PUBLISH_ROLE }}
             aws-region: us-west-2

@@ -42,7 +42,7 @@ jobs:
         python-version: ${{ matrix.python-version }}

     - name: Configure AWS credentials
-      uses: aws-actions/configure-aws-credentials@v3
+      uses: aws-actions/configure-aws-credentials@v4
       with:
         role-to-assume: ${{ secrets.AWS_CODEARTIFACT_ROLE }}
         aws-region: us-west-2