Skip to content

Commit c4057d9

Browse files
committed
add a test workflow
1 parent b9faff8 commit c4057d9

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/test.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: AWS STS Identity Check
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
check-aws-identity:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout repository
11+
uses: actions/checkout@v4
12+
13+
- name: Configure AWS credentials
14+
uses: aws-actions/configure-aws-credentials@v4
15+
with:
16+
role-to-assume: arn:aws:iam::427040638965:role/GitHubActionsRole
17+
role-session-name: Core_Dev_Deployment
18+
aws-region: us-east-1
19+
20+
- name: Get AWS Caller Identity
21+
run: aws sts get-caller-identity

0 commit comments

Comments
 (0)