From 9742b3319a16a77e264c06a6a6de53d57539d89c Mon Sep 17 00:00:00 2001 From: JM Faircloth Date: Mon, 12 Jun 2023 12:12:26 -0500 Subject: [PATCH] try actionlint's skip_outputs setting --- .github/workflows/actionlint.yaml | 3 +++ .github/workflows/build.yml | 5 +---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/actionlint.yaml b/.github/workflows/actionlint.yaml index 6ba4387..47be0ca 100644 --- a/.github/workflows/actionlint.yaml +++ b/.github/workflows/actionlint.yaml @@ -5,5 +5,8 @@ on: - '.github/workflows/**' jobs: actionlint: + # don't enforce strict typing for outputs (defined in this repo's + # action.yml) because vault-action's outputs are dynamic + skip_outputs: true # using `main` as the ref will keep your workflow up-to-date uses: hashicorp/vault-workflows-common/.github/workflows/actionlint.yaml@main diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 565bcd6..50b68b9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -101,9 +101,6 @@ jobs: e2e: runs-on: ubuntu-latest - outputs: - otherSecret: ${{ steps.kv-secrets.outputs.otherSecret }} - otherSecretTLS: ${{ steps.kv-secrets-tls.outputs.otherSecretTLS }} steps: - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 @@ -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 }}