mirror of
https://github.com/hashicorp/vault-action.git
synced 2025-11-09 16:16: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:
|
||||
paths:
|
||||
- '.github/workflows/**'
|
||||
|
||||
jobs:
|
||||
actionlint:
|
||||
# using `main` as the ref will keep your workflow up-to-date
|
||||
uses: hashicorp/vault-workflows-common/.github/workflows/actionlint.yaml@main
|
||||
runs-on: ubuntu-latest
|
||||
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)
|
||||
uses: ./
|
||||
outputs:
|
||||
otherSecret: ${{ steps.kv-secrets.outputs.otherSecret }}
|
||||
otherSecretTLS: ${{ steps.kv-secrets-tls.outputs.otherSecretTLS }}
|
||||
id: kv-secrets
|
||||
with:
|
||||
url: http://localhost:8200
|
||||
|
|
@ -259,4 +256,4 @@ jobs:
|
|||
- name: Verify Vault Action Outputs
|
||||
run: npm run test:integration:e2e-tls
|
||||
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