summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2020-01-02 07:34:52 -0500
committerGitHub <noreply@github.com>2020-01-02 07:34:52 -0500
commit5f1a8a1ce45579b2a6fe1865339f885617199473 (patch)
tree86f7cac0a4e34bed869cb4655523608acf0bf3fc /.travis.yml
parent9e2d42753b555747620f0f41ca762f112a9c983d (diff)
Limit 'support activities on main branch' to main repo. (#7543)
This adds a check to prevent the 'Support activities on main branch' stage from running on forked repos. In such repos, it will automatically fail without special effort from the user, requiring them to carry local patches on their master branch. Without this, CI builds of the 'master' branch will fail for users who do not go through the effort of setting up the custom patches to disable this stage in their repo.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index acb3565071..da64418fb7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -60,7 +60,7 @@ stages:
# Scheduled releases
- name: Support activities on main branch
- if: branch = master AND type != pull_request AND type != cron
+ if: branch = master AND type != pull_request AND type != cron AND repo = netdata/netdata
# We don't run on release candidates
- name: Publish for release