chore: Don't build pushes to branches, only to tags.

This commit is contained in:
iphydf 2020-05-05 13:43:53 +01:00
parent 48bd200acb
commit fd2bb77923
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -84,3 +84,7 @@ notifications:
template:
- "%{result} %{repository_name} %{build_url}"
- "#%{build_number} changes: %{compare_url}"
# Only build pull requests and releases, don't build master on pushes,
# except through api or cron.
if: type IN (pull_request, api, cron) OR tag IS present