Skip to content

Commit

Permalink
CI: Move secret definition under secrets
Browse files Browse the repository at this point in the history
Error:
composed-ci-management-verify.yaml@main (Line: 148, Col: 20): Invalid
secret, ENV_SECRETS is not defined in the referenced workflow.

Signed-off-by: Anil Belur <[email protected]>
  • Loading branch information
askb committed Nov 21, 2023
1 parent b7e4634 commit 217ba09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/compose-maven-verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
- name: Export env secrets
uses: infovista-opensource/[email protected]
with:
secrets: ${{ inputs.ENV_SECRETS }}
secrets: ${{ secrets.ENV_SECRETS }}
- name: Obtain global settings file
# yamllint disable rule:line-length
run: |
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/compose-packer-verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,11 @@ on:
required: false
default: "{}"
type: string
secrets:
ENV_SECRETS:
# yamllint disable-line rule:line-length
description: "Pass GitHub secrets to be exported as environment variables via `toJSON(secrets)` or specific secrets encoded in JSON format"
required: false
default: "{}"
type: string
secrets:
CLOUDS_ENV_B64:
description: "Packer cloud environment credentials"
required: true
Expand Down

0 comments on commit 217ba09

Please sign in to comment.