Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.6.27 Actionlint do not recognising outputs from google-github-actions/get-secretmanager-secrets@v2 #405

Closed
tb137 opened this issue Feb 29, 2024 · 1 comment

Comments

@tb137
Copy link

tb137 commented Feb 29, 2024

After upgrading from v1.6.24 to v1.6.27 actionlint do not recognising outputs from google-github-actions/get-secretmanager-secrets@v2. It complains with following error:

.github/workflows/dotnet-basic.yml:251:34: property "service_account_key" is not defined in object type {} [expression]
    |
251 |           credentials_json: '${{ steps.get-secrets.outputs.service_account_key }}'

It used to work before just fine, but after an upgrade it started to complain :/

GitHub action workflow looks like that:

...
       - id: get-secrets
        uses: 'google-github-actions/get-secretmanager-secrets@v2'
        with:
          secrets: |-
            service_account_key:gcp-project/secret_account_key
      - id: 'auth'
        name: 'Authenticate to Google Cloud'
        uses: 'google-github-actions/auth@v2'
        with:
          token_format: access_token
          credentials_json: '${{ steps.get-secrets.outputs.service_account_key }}
...

Would you know how to resolve this issue? Is it a bug?

Thank you!

P.S. It brakes only in 1.6.27.

@tb137 tb137 changed the title After upgrading from v1.6.24 to v1.6.27 actionlint do not recognising outputs from google-github-actions/get-secretmanager-secrets@v2 v1.6.27 Actionlint do not recognising outputs from google-github-actions/get-secretmanager-secrets@v2 Feb 29, 2024
@rhysd
Copy link
Owner

rhysd commented Mar 1, 2024

Duplicate: #404

@rhysd rhysd closed this as completed Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants