This message was deleted.
# general
s
This message was deleted.
c
the GitHub Actions task? Yes, it does.
c
No, i mean the app that would integrate with the action, and post comments in the PR. https://www.pulumi.com/docs/guides/continuous-delivery/github-app/
👍 1
b
yes it does, you just need to set this environment variable https://github.com/pulumi/pulumi/blob/master/dist/actions/entrypoint.sh#L10 and use the action
c
I have a PR where i set the workflow using the actions, and it works correctly, i also set-up the app to access all my repos, but the app integration in the PR didn't appear. does the workflow has to be merged already for it to work? if not i'm unsure why it didn't work
c
The Pulumi GitHub App does require that you use the “app.pulumi.com” backend for your stack, and does not work with self-managed backends. The reason this is the case, is that when installing the GitHub App, the Pulumi Service receives webhooks from GitHub informing us that the PR was created, and the current SHA, etc. … so when the update completes, we can associate <stack update X> with <PR Y>. When using the self-managed backend, it isn’t quite possible to make that work. However, you can approximate similar functionality by calling the GitHub APIs directly. For example, I think we have a snippet or demo somewhere where a GitHub Actions workflow will check for the “current PR info” from and env var, and use the GitHub API to comment on the PR that triggered the GitHub Actions run.
c
Can you point me to the snipet? I'll be really interested in giving it a go