diff --git a/templates/zerver/help/include/git-webhook-url-with-branches.md b/templates/zerver/help/include/git-webhook-url-with-branches.md new file mode 100644 index 0000000000..b975c9ba61 --- /dev/null +++ b/templates/zerver/help/include/git-webhook-url-with-branches.md @@ -0,0 +1,5 @@ +You can also limit the branches you receive notifications for by +specifying them in a comma-separated list at the end of the URL, +like so: + +`{{ external_api_uri_subdomain }}{{ integration_url }}?api_key=abcdefgh&stream={{ integration_name }}&branches=master,development` diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.py index ac5b00e90b..b011382c1b 100644 --- a/tools/linter_lib/custom_check.py +++ b/tools/linter_lib/custom_check.py @@ -428,6 +428,7 @@ def build_custom_checkers(by_lang): "zerver/webhooks/solano/doc.md", "zerver/webhooks/trello/doc.md", "zerver/webhooks/papertrail/doc.md", + "templates/zerver/help/include/git-webhook-url-with-branches.md", } for fn in by_lang['md']: max_length = None