Skip to content

Commit dc630a2

Browse files
committed
feat(vault): add vault config
1 parent b57bea2 commit dc630a2

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: commit
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
pull_request:
8+
types: [opened, synchronize, reopened]
9+
10+
permissions:
11+
id-token: write
12+
13+
jobs:
14+
test-vault:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: commit
19+
# id: {{ job id }}
20+
uses: hashicorp/vault-action@v3
21+
with:
22+
url: ${{ secrets.VAULT_URL }}
23+
method: jwt
24+
role: ${{ secrets.VAULT_ROLE }}
25+
jwtGithubAudience: ${{ secrets.JWT_GIT_AUDIENCE }}
26+
secrets: >-
27+
${{ secrets.VAULT_SECRET_PATH }} | VAULT_SECRET_PATH;

0 commit comments

Comments
 (0)