@cryptotaxi247 / netdata-1 / commits / 5f1a8a1ce

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.

Austin S. Hemmelgarn committed Jan 2, 2020 at 07:34 UTC 5f1a8a1ce45579b2a6fe1865339f885617199473
1 file changed +1 -1
.travis.yml
+1 -1
@@ -60,7 +60,7 @@ stages:
60
61 # Scheduled releases
62 - name: Support activities on main branch
63 - if: branch = master AND type != pull_request AND type != cron
63 + if: branch = master AND type != pull_request AND type != cron AND repo = netdata/netdata
64
65 # We don't run on release candidates
66 - name: Publish for release