Skip to content

Commit

Permalink
fix: add a secret "secrets"
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Oct 29, 2022
1 parent b86d1d0 commit 757cd5b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
required: true
gh_token:
required: true
secrets:
required: false
default: "{}"
terraform_private_module_ssh_key:
required: false

Expand Down Expand Up @@ -99,7 +102,7 @@ jobs:

- uses: suzuki-shunsuke/tfaction/export-secrets@v0.5.19
with:
secrets: ${{ toJSON(secrets) }}
secrets: ${{ toJSON(secrets.secrets) }}

# This is required to download private modules in `terraform init`
- run: gh auth setup-git
Expand Down

0 comments on commit 757cd5b

Please sign in to comment.