From 99af6a45453da34c43e999a7616dcf85f1a979db Mon Sep 17 00:00:00 2001 From: Sebastian Pekarek Date: Wed, 28 Apr 2021 17:47:49 +0200 Subject: [PATCH] ci: Fix main release if condition --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7d73c69af..cfe74f685 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,7 @@ on: jobs: tests: runs-on: ubuntu-latest - if: contains(toJson(github.event.commits), '[skip ci]') == false + if: contains(toJson(github.event.commits), '[skip ci]') == false || github.ref == 'refs/head/main' strategy: matrix: node: [10.x, 12.x, 14.x, 15.x]