Skip to content

Commit ab2f032

Browse files
add support for ignoring missing secrets
1 parent 185000d commit ab2f032

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

actions/get-vault-secrets/action.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ inputs:
3131
description: |
3232
Whether to export secrets as environment variables, making them available to all subsequent steps. Defaults to `true`.
3333
default: "true"
34+
35+
ignore_missing:
36+
description: |
37+
When set to true, prevents the action from failing when a secret does not exist.
38+
default: "false"
3439

3540
outputs:
3641
secrets:
@@ -119,3 +124,4 @@ runs:
119124
secrets: |
120125
${{ steps.translate-secrets.outputs.secrets }}
121126
exportEnv: ${{ inputs.export_env }}
127+
ignoreNotFound: ${{ inputs.ignore_missing }}

0 commit comments

Comments
 (0)