From 4e54fcd7234c3d9244f68920e4d30414c1055bdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Kuni=C3=9F?= Date: Thu, 4 Jan 2024 00:29:56 +0100 Subject: [PATCH] Avoid CI workflow is running on release publications and within twice, once for the tag pushed for release and second for the release event. This was found in https://stackoverflow.com/questions/70743715/how-do-i-configure-a-github-actions-workflow-so-it-does-not-run-on-a-tag-push --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ba112c0..3da3808 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,9 @@ name: CI -on: [push, pull_request] +on: + push: + branches: + - "*" + pull_request: jobs: build: