fix lint and pass token to build

This commit is contained in:
JM Faircloth
2023-07-05 12:30:19 -05:00
parent 788264dddd
commit e5605de996
3 changed files with 9 additions and 3 deletions
+4 -1
View File
@@ -16,4 +16,7 @@ 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"
-ignore "property \"jsonstringmultiline\" is not defined in object type"
+2 -2
View File
@@ -190,10 +190,10 @@ jobs:
uses: ./
with:
url: https://localhost:8200
token: ${{ env.VAULT_TOKEN }}
token: testtoken
secrets: |
secret/data/test-json-string jsonString;
secret/data/test-json-multiline jsonStringMultiline;
secret/data/test-json-string-multiline jsonStringMultiline;
- name: Test Parsing Secrets (part 2/2)
# this step will call a JS script to test that we can successfully parse
+3
View File
@@ -1,3 +1,6 @@
// This script is used by the e2e tests in build.yml to test that we can
// successfully parse JSON string data into JS objects
try {
let inputs = [
process.env.JSONSTRING,