Skip to content

Commit cb3b499

Browse files
lehmanmjkellertk
authored andcommitted
chore: redact s3 contents
1 parent ec8e002 commit cb3b499

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/tests-integ-release.yml

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

116116
#NOTE: This step should succeed. The role should have permission only to list all buckets.
117117
- name: list buckets
118-
run: |
119-
aws s3 ls
118+
run: aws s3 ls > /dev/null
120119

121120
#NOTE: This step should fail. we don't want the role to have permission to see the bucket contents.
122121
- name: try to list bucket contents
123122
id: bucketContentsStep
124123
continue-on-error: true
125-
run: |
126-
aws s3 ls s3://cawsc-integ-tests-bucket
124+
run: aws s3 ls s3://cawsc-integ-tests-bucket > /dev/null
127125

128126
#But the test fails if we could list the bucket contents.
129127
- name: fail if we can list bucket contents

0 commit comments

Comments
 (0)