Skip to content

chore(deps): update sonarsource/vault-action-wrapper action to v2.8.0 - autoclosed #33

chore(deps): update sonarsource/vault-action-wrapper action to v2.8.0 - autoclosed

chore(deps): update sonarsource/vault-action-wrapper action to v2.8.0 - autoclosed #33

Workflow file for this run

---
# yamllint disable rule:truthy
name: Test action
on:
pull_request:
paths:
- .github/workflows/test.yaml
- action.yaml
jobs:
jfrog-setup-internal-auth:
runs-on: ubuntu-22.04
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: exec jfrog-setup
id: actual
uses: ./
with:
vaultUrl: https://vault.staging.sonar.build:8200
artifactoryRoleSuffix: test
- name: validate
shell: bash
run: jfrog rt ping
jfrog-setup-external-auth:
runs-on: ubuntu-22.04
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: get secrets
id: secrets
uses: SonarSource/vault-action-wrapper@f4794f0a6d33f37c1900a4d8975a65cd53300dba # 2.8.0-1
with:
url: https://vault.staging.sonar.build:8200
secrets: |
development/artifactory/token/{REPO_OWNER_NAME_DASH}-test access_token | jf_access_token;
- name: exec jfrog-setup
id: actual
uses: ./
with:
jfrogAccessToken: ${{ fromJSON(steps.secrets.outputs.vault).jf_access_token }}
- name: validate
shell: bash
run: jfrog rt ping