mirror of
https://github.com/hashicorp/vault-action.git
synced 2025-11-07 15:16:56 +00:00
fix lint and pass token to build
This commit is contained in:
parent
788264dddd
commit
e5605de996
3 changed files with 9 additions and 3 deletions
5
.github/workflows/actionlint.yaml
vendored
5
.github/workflows/actionlint.yaml
vendored
|
|
@ -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"
|
||||
|
|
|
|||
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue