WebhookSecret returns the unencrypted webhook secret associated with the webhook installed in GitHub for GARM. For GARM to receive webhook events for an entity, either the operator or GARM will have to create a webhook in GitHub which points to the GARM API server. To authenticate the webhook, a web
()
| 46 | // GARM will have to create a webhook in GitHub which points to the GARM API server. To authenticate |
| 47 | // the webhook, a webhook secret is used. This function returns that secret. |
| 48 | WebhookSecret() string |
| 49 | // GithubRunnerRegistrationToken returns a new registration token for a github runner. This is used |
| 50 | // for GHES installations that have not yet upgraded to a version >= 3.10. Starting with 3.10, we use |
| 51 | // just-in-time runners, which no longer require exposing a runner registration token. |
no outgoing calls
no test coverage detected