Skip to content

chore(deps): update hashicorp/vault-action action to v3.1.0 #81

chore(deps): update hashicorp/vault-action action to v3.1.0

chore(deps): update hashicorp/vault-action action to v3.1.0 #81

Workflow file for this run

---
# yamllint disable rule:truthy
name: Test action
on:
pull_request:
paths:
- .github/workflows/test.yaml
- action.yaml
jobs:
vault-action:
runs-on: ubuntu-24.04
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: exec vault-action
id: actual
uses: ./
with:
url: https://vault.staging.sonar.build:8200
secrets: |
development/github/token/{REPO_OWNER_NAME_DASH}-ro token | github_ro;
development/github/token/{REPO_OWNER_NAME_DASH}-ro org_name | org_name;
- name: validate token
shell: bash
env:
GITHUB_TOKEN: ${{ fromJSON(steps.actual.outputs.vault).github_ro }}
run: |
gh workflow list --all | grep "Test action"
- name: validate org_name
shell: bash
run: |
[[ "${{ fromJSON(steps.actual.outputs.vault).org_name }}" = "SonarSource" ]]