https://pulumi.com logo
#general
Title
# general
a

adventurous-butcher-54166

01/16/2023, 1:22 PM
I’m having trouble getting the Pulumi Github Bot to author comments on pull requests. Instead the comment comes from github-actions bot and the preview output is unformatted. I’m using the
pulumi/actions@v3
as defined below. I’ve tried reinstalling the Pulumi GitHub App, allowing access to all organization repositories, without success. Any ideas on what I’m not doing correctly?
Copy code
- name: Comment on PR with pulumi preview output
        uses: pulumi/actions@v3
        id: pulumi-action
        env:
          PYTHONPATH: ${{ inputs.pulumi_workdir }}
          PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
        with:
          command: preview
          comment-on-pr: true
          edit-pr-comment: true
          github-token: ${{ secrets.GITHUB_TOKEN }}
          stack-name: ${{ inputs.pulumi_stack }}
          work-dir: ${{ inputs.pulumi_workdir }}
d

dry-keyboard-94795

01/16/2023, 1:56 PM
I think you shouldn't have
comment-on-pr
set on the action. Instead, the integration needs configuring in the pulumi dashboard: https://www.pulumi.com/docs/guides/continuous-delivery/github-app/
2 Views