Skip to content

Commit 94d72eb

Browse files
committed
chore: mask aws account number
1 parent 293dedb commit 94d72eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/testsPython.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
- name: Get IAM user info
3434
run: |
35-
aws sts get-caller-identity
35+
aws sts get-caller-identity | jq -r '.Account="************", .Arn |= sub("(arn:aws:iam::)(\\d+)(:user/\\w+)"; "\\1************\\3")'
3636
3737
- name: Run Python tests
3838
uses: ./.github/actions/tests/python

0 commit comments

Comments
 (0)