Update webhooks.md (#611)

This commit is contained in:
Luke
2025-06-20 13:56:05 -05:00
committed by GitHub
parent e2280f38df
commit 2205a81e79

View File

@@ -44,7 +44,7 @@ You will have to input some information.
2. For Content-type, choose `application/json`
3. For Secret, input the secret you configured in the Komodo Core config (`KOMODO_WEBHOOK_SECRET`).
4. Enable SSL Verification, if you have proper TLS setup to your git provider (recommended).
5. For "events that trigger the webhook", just the push request is what post people want.
5. For "events that trigger the webhook", just the push request is what most people want.
6. Of course, make sure the webhook is "Active" and hit create.
## When does it trigger?
@@ -54,4 +54,4 @@ etc. only cares about a specific branch of the repo.
Because of this, the webhook will trigger the action **only on pushes to the branch configured on the resource**.
For example, if I make a build, I may point the build to the `release` branch of a particular repo. If I set up a webhook, and push to the `main` branch, the action will *not trigger*. It will only trigger when the push is to the `release` branch.
For example, if I make a build, I may point the build to the `release` branch of a particular repo. If I set up a webhook, and push to the `main` branch, the action will *not trigger*. It will only trigger when the push is to the `release` branch.