Choose the signature algorithm for webhook validation:

Note: When changing algorithms, ensure your GitHub webhook configuration uses the corresponding signature header (X-Hub-Signature-256 for SHA-256 or X-Hub-Signature for SHA-1).

System Property Override: The default algorithm can be overridden using the system property -Djenkins.github.webhook.signature.default=SHA1 for backwards compatibility with legacy CI environments.