Skip to content

Commit 10ed439

Browse files
committed
fix actionlint
1 parent 00e0fca commit 10ed439

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/actionlint.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ jobs:
1616
# in our e2e tests.
1717
# This error occurs because vault-action's outputs are dynamic but
1818
# actionlint expects action.yml to define them.
19-
args: '-ignore "property \"othersecret\" is not defined in object type"'
19+
args: >
20+
-ignore "property \"othersecret\" is not defined in object type"
21+
-ignore "property \"jsonstring\" is not defined in object type"

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ jobs:
168168
echo "${{ steps.import-secrets.outputs.jsonString }}" > secrets.json
169169
cat secrets.json
170170
# we should be able to parse the output as JSON
171-
cat secrets.json | jq -c
171+
jq -c . < secrets.json
172172
173173
- name: Test Vault Action (cubbyhole)
174174
uses: ./

.github/workflows/local-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ jobs:
5656
run: |
5757
echo
5858
cat secrets.json
59-
cat secrets.json | jq -c
59+
jq -c . < secrets.json

0 commit comments

Comments
 (0)