Hotfix: Prevent webhooks from running on non-master/main branches

This commit is contained in:
rubenwardy
2021-03-07 14:47:27 +00:00
parent 4d2833de88
commit 9cb9f8a4f6
3 changed files with 13 additions and 3 deletions

View File

@@ -21,8 +21,8 @@ The process is as follows:
4. ContentDB checks the API token and issues a new release.
<p class="alert alert-warning">
"New commit" or "push" based webhooks are currently broken as they don't check the branch name.
This means that releases will be created for pushes to non-default branches.
"New commit" or "push" based webhooks will currently only work on branches named `master` or
`main`.
</p>
## Setting up