From dc630a21288bc1e96bcf0aaa59283eb398625fd1 Mon Sep 17 00:00:00 2001 From: Martho Evan Date: Mon, 4 May 2026 15:15:52 +0200 Subject: [PATCH] feat(vault): add vault config --- .github/workflows/test.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..45c6415 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,27 @@ +name: commit + +on: + push: + branches: + - '**' + pull_request: + types: [opened, synchronize, reopened] + +permissions: + id-token: write + +jobs: + test-vault: + runs-on: ubuntu-latest + + steps: + - name: commit +# id: {{ job id }} + uses: hashicorp/vault-action@v3 + with: + url: ${{ secrets.VAULT_URL }} + method: jwt + role: ${{ secrets.VAULT_ROLE }} + jwtGithubAudience: ${{ secrets.JWT_GIT_AUDIENCE }} + secrets: >- + ${{ secrets.VAULT_SECRET_PATH }} | VAULT_SECRET_PATH;