-
Hi Probot team! In my new company we have to setup a GitHub App for managing some PR check-runs stuff (I can provide more details if you think it can add value here) and, when considering the developer experience environment we come up with the following questions:
Checking Probot's docs I assume the following:
Question Thanks once again for all the work and for making life easier for developers working with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Register as many staging apps as you like. Each developer can register their own, with their own smee.io channel URL set as the webhooks URL so you can run it locally on your respective machines.
I'd love that myself, and I think it would be possible to setup, but nobody did it yet. There are different ways to approach it. You could register a new GitHub app each time you want to deploy a preview. Unfortunately github apps cannot delete themselves, so you'd need to clean up manually. Alternatively, register a pool of staging apps and configure the credentials in your repository. Then when you want to "deploy" a pull request to staging, setup automation that picks one of the available registrations and use and update the webhooks URL to point to the stating deployment URL of your server. Depending on your environment you'll need to install the app on some test repository. The app can uninstall itself to clean up when the pull request is closed. The problem you are facing is pretty common, it would be nice to come up with a general solution that folks can apply to their environment. I think the "pool of staging GitHub Apps" could be implemented with a single GitHub Action |
Beta Was this translation helpful? Give feedback.
Register as many staging apps as you like. Each developer can register their own, with their own smee.io channel URL set as the webhooks URL so you can run it locally on your respective machines.
I'd love that myself, and I think it would be possible to setup, but nobody did it yet. There are different ways to approach it. You could register a new GitHub a…