1

My github action workflow is as follows:

- name: Preview changes to Infra  
  uses: pulumi/actions@v4
  id: pulumi
  with:
    command: preview
    stack-name: ${{ env.PULUMY_XXXX }}
    work-dir: ${{ env.PULUMY_XXXXX }}
    color: always
  env:
    PULUMI_CONFIG_PASSPHRASE: ${{ secrets.PULUMI_XXXXXX }}

and the output from this step is very verbose and seen below: enter image description here

The only part I would like displayed is what is in the red box. Anyone have any suggestions how to reduce the output ?

alexis
  • 1,022
  • 3
  • 16
  • 44
  • 1
    There doesn't seem to be a configuration for that. You might want to create an issue on https://github.com/pulumi/actions repo to request its inclusion. – Azeem Feb 22 '23 at 04:18

2 Answers2

-1
- name: Preview changes to Infra  
  uses: pulumi/actions@v4
  id: pulumi
  with:
    command: preview
    stack-name: ${{ env.PULUMY_XXXX }}
    work-dir: ${{ env.PULUMY_XXXXX }}
    color: always
    diff: false
  env:
    PULUMI_CONFIG_PASSPHRASE: ${{ secrets.PULUMI_XXXXXX }}
jaxxstorm
  • 12,422
  • 5
  • 57
  • 67
  • 1
    thanks for the suggestion @jaxxstorm but this has not really made any difference to the output. – alexis Feb 21 '23 at 22:02
-1

You are watching the output of the github action runners right?

Maybe instead of doing that you can configure the pulumi github action with this parameter comment-on-pr and you will see the content of the red box in the message of the pr without a need to go to the actions' logs

https://github.com/pulumi/actions#configuration

Because I think is as @Azeem mentioned above. There is no configuration at the moment for that.

Cheers

MrThompson
  • 38
  • 4