From 68c6e70f7cdb392fc3a5c130029320674b848050 Mon Sep 17 00:00:00 2001 From: Telan <13066272+TheElan@users.noreply.github.com> Date: Sun, 14 Nov 2021 21:41:53 +0200 Subject: [PATCH] ci: only perform build script maintenance on main branches to avoid conflicts Merge commits will have buildscript changes anyways, and with this active on all branches it will be inconvenient and require pulling things after push, so you won't get in conflict with bot update --- .github/workflows/buildscript-maintenance.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/buildscript-maintenance.yml b/.github/workflows/buildscript-maintenance.yml index d7ea0cd..f5128e3 100644 --- a/.github/workflows/buildscript-maintenance.yml +++ b/.github/workflows/buildscript-maintenance.yml @@ -2,7 +2,9 @@ name: Buildscript maintenance -on: [push] +on: + push: + branches: [ master, main ] jobs: buildscript-maintenance: