From b661e718a9234eab13c4433c68cf0d91d0e4d386 Mon Sep 17 00:00:00 2001 From: Tim van der Lippe Date: Wed, 23 Nov 2022 16:16:15 +0100 Subject: [PATCH] Also trigger release on 4.x tags --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0185db86..500e97f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,7 +81,7 @@ jobs: needs: [build] # build job must pass before we can release if: github.event_name == 'push' - && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/3.')) + && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/3.') || startsWith(github.ref, 'refs/tags/4.')) && github.repository == 'mockito/mockito-kotlin' && !contains(toJSON(github.event.commits.*.message), '[skip release]')