From c1854c79e5aabb138b8d8a6ea4e209a748247b5a Mon Sep 17 00:00:00 2001 From: JM Faircloth Date: Mon, 12 Jun 2023 14:22:35 -0500 Subject: [PATCH] call actionlint directly to pass args --- .github/workflows/actionlint.yaml | 10 ++++++++-- .github/workflows/build.yml | 5 +---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/actionlint.yaml b/.github/workflows/actionlint.yaml index 6ba4387..b69beac 100644 --- a/.github/workflows/actionlint.yaml +++ b/.github/workflows/actionlint.yaml @@ -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 {}' diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dbcd65d..50b68b9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }}