From ff534fd6767517373c720909e5c488bd2820e1e0 Mon Sep 17 00:00:00 2001 From: JM Faircloth Date: Fri, 16 Jun 2023 20:17:31 -0500 Subject: [PATCH] fix actionlint --- .github/workflows/actionlint.yaml | 4 +++- .github/workflows/build.yml | 2 +- .github/workflows/local-test.yaml | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/actionlint.yaml b/.github/workflows/actionlint.yaml index ee79a646..b8c9d8e9 100644 --- a/.github/workflows/actionlint.yaml +++ b/.github/workflows/actionlint.yaml @@ -16,4 +16,6 @@ jobs: # in our e2e tests. # This error occurs because vault-action's outputs are dynamic but # actionlint expects action.yml to define them. - args: '-ignore "property \"othersecret\" is not defined in object type"' + args: > + -ignore "property \"othersecret\" is not defined in object type" + -ignore "property \"jsonstring\" is not defined in object type" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5a3b85f3..d09f8d3c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -168,7 +168,7 @@ jobs: echo "${{ steps.import-secrets.outputs.jsonString }}" > secrets.json cat secrets.json # we should be able to parse the output as JSON - cat secrets.json | jq -c + jq -c . < secrets.json - name: Test Vault Action (cubbyhole) uses: ./ diff --git a/.github/workflows/local-test.yaml b/.github/workflows/local-test.yaml index 4d857a27..1b17b5df 100644 --- a/.github/workflows/local-test.yaml +++ b/.github/workflows/local-test.yaml @@ -56,4 +56,4 @@ jobs: run: | echo cat secrets.json - cat secrets.json | jq -c + jq -c . < secrets.json