Skip to content

Commit ae708bf

Browse files
committed
Add public action test to tests workflow
1 parent 787c0e1 commit ae708bf

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/tests.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Unit Tests
1+
name: Tests
22
on:
33
pull_request:
44
branches:
@@ -22,7 +22,7 @@ jobs:
2222
- run: npm test
2323

2424
# test action works running from the graph
25-
action-test:
25+
action-test-private:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- uses: actions/checkout@v1
@@ -32,4 +32,15 @@ jobs:
3232
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
3333
aws_region: ${{ secrets.AWS_REGION }}
3434
secrets: '*secret*'
35+
parse_json: true
36+
37+
action-test-public:
38+
runs-on: ubuntu-latest
39+
steps:
40+
- uses: action-factory/aws-secrets-manager-action@v0.2.0
41+
with:
42+
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
43+
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
44+
aws_region: ${{ secrets.AWS_REGION }}
45+
secrets: 'my_secret*'
3546
parse_json: true

0 commit comments

Comments
 (0)