mirror of
https://github.com/hashicorp/vault-action.git
synced 2025-11-10 00:26:55 +00:00
call actionlint directly to pass args
This commit is contained in:
parent
efc79ffeea
commit
c1854c79e5
2 changed files with 9 additions and 6 deletions
10
.github/workflows/actionlint.yaml
vendored
10
.github/workflows/actionlint.yaml
vendored
|
|
@ -3,7 +3,13 @@ on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/**'
|
- '.github/workflows/**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
actionlint:
|
actionlint:
|
||||||
# using `main` as the ref will keep your workflow up-to-date
|
runs-on: ubuntu-latest
|
||||||
uses: hashicorp/vault-workflows-common/.github/workflows/actionlint.yaml@main
|
steps:
|
||||||
|
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
|
||||||
|
- name: "Lint workflow files"
|
||||||
|
uses: docker://docker.mirror.hashicorp.services/rhysd/actionlint:latest
|
||||||
|
with:
|
||||||
|
args: -ignore 'property "othersecret" is not defined in object type {}'
|
||||||
|
|
|
||||||
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
|
@ -134,9 +134,6 @@ jobs:
|
||||||
|
|
||||||
- name: Test Vault Action (default KV V2)
|
- name: Test Vault Action (default KV V2)
|
||||||
uses: ./
|
uses: ./
|
||||||
outputs:
|
|
||||||
otherSecret: ${{ steps.kv-secrets.outputs.otherSecret }}
|
|
||||||
otherSecretTLS: ${{ steps.kv-secrets-tls.outputs.otherSecretTLS }}
|
|
||||||
id: kv-secrets
|
id: kv-secrets
|
||||||
with:
|
with:
|
||||||
url: http://localhost:8200
|
url: http://localhost:8200
|
||||||
|
|
@ -259,4 +256,4 @@ jobs:
|
||||||
- name: Verify Vault Action Outputs
|
- name: Verify Vault Action Outputs
|
||||||
run: npm run test:integration:e2e-tls
|
run: npm run test:integration:e2e-tls
|
||||||
env:
|
env:
|
||||||
OTHER_SECRET_OUTPUT: ${{ steps.kv-secrets-tls.outputs.otherSecretTLS }}
|
OTHER_SECRET_OUTPUT: ${{ steps.kv-secrets-tls.outputs.otherSecret }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue