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

All outputs are empty? #218

Open
ben851 opened this issue Jan 29, 2024 · 2 comments
Open

All outputs are empty? #218

ben851 opened this issue Jan 29, 2024 · 2 comments
Labels
question Further information is requested

Comments

@ben851
Copy link

ben851 commented Jan 29, 2024

I'm trying to take the stdout of helmfile diff and and post it as a comment in the PR. Every output seems to be empty (I've tried helmfile-stdout, helmfile-stderr and exit-code). Am I missing something? I've verified that writing static text in the pr comment action works as expected, and I can get outputs from other actions and add them as a comment.

    - name: Run helmfile
       id: helmfile_diff
       uses: helmfile/[email protected]
       with:
         helmfile-args: diff --environment staging
    - name: Helmfile Diff Comment
      uses: mshick/add-pr-comment@v2
      with:
        message: | 
          ${{ steps.helmfile_diff.outputs.helmfile-stdout }}
@yxxhero
Copy link
Member

yxxhero commented Jan 29, 2024

@ben851 could you file some example?

@yxxhero yxxhero added the question Further information is requested label Jan 29, 2024
@ben851
Copy link
Author

ben851 commented Feb 5, 2024

Hi there,

It's literally any output from the plugin, but here's a truncated gist as an example:

https://gist.github.com/ben851/77758732ac2d61b93a94f1f7134710dd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants