Skip to content

Commit ec3003d

Browse files
authored
allow aws creds to fail without retry
1 parent 548c23e commit ec3003d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,13 +154,15 @@ jobs:
154154

155155
- name: Configure AWS credentials
156156
if: github.repository == 'demosdemon/git-remote-codecommit'
157-
uses: aws-actions/configure-aws-credentials@v4.0.2
157+
continue-on-error: true
158+
uses: aws-actions/configure-aws-credentials@v6.0.0
158159
env:
159160
RUST_BACKTRACE: 1
160161
AWS_REGION: us-west-2
161162
with:
162163
role-to-assume: arn:aws:iam::339712996426:role/github-git-remote-codecommit
163164
aws-region: ${{ env.AWS_REGION }}
165+
disable-retry: true
164166

165167
- name: Run Rust tests with coverage
166168
env:
@@ -253,7 +255,7 @@ jobs:
253255
fetch-depth: 0 # need the history in order to push to CodeCommit
254256

255257
- name: Configure AWS credentials
256-
uses: aws-actions/configure-aws-credentials@v4.0.2
258+
uses: aws-actions/configure-aws-credentials@v6.0.0
257259
with:
258260
role-to-assume: arn:aws:iam::339712996426:role/github-git-remote-codecommit
259261
aws-region: ${{ env.AWS_REGION }}

0 commit comments

Comments
 (0)