From 0d8a86db508ff90fe0c6ce17c88232d83c8bed3e Mon Sep 17 00:00:00 2001 From: Michele Peresano Date: Thu, 27 Jun 2024 11:49:42 +0200 Subject: [PATCH] Disable CI on pushes if not on main branch --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a3ba037..76cec90 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,12 @@ name: CI -on: [push, pull_request] +on: + push: + branches: + - main + tags: + - "**" + pull_request: env: MPLBACKEND: Agg