From eaa8e0119cc7d06b69aecfed6746e8d1cb5eaf08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frederik=20Bu=C3=9Fmann?= Date: Mon, 19 Aug 2024 19:04:15 +0200 Subject: [PATCH] chore: updated ci job conditions [skip-release] --- .github/workflows/ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1672bec..3093b03 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,8 +39,8 @@ jobs: runs-on: ubuntu-latest if: | github.event_name == 'push' && - !contains(github.event.head_commit.message, '[skip-release]') && - !startsWith(github.ref, 'refs/heads/renovate/') + !contains(github.event.head_commit.message, '/renovate/') && + !contains(github.event.head_commit.message, '[skip-release]') steps: - uses: actions/checkout@v4 @@ -63,10 +63,8 @@ jobs: needs: [ test ] runs-on: ubuntu-latest if: | - github.event_name == 'pull_request' && - github.event.action == 'closed' && - github.event.pull_request.merged == true && - startsWith(github.event.pull_request.head.ref, 'renovate/') + github.event_name == 'push' && + contains(github.event.head_commit.message, '/renovate/') steps: - uses: actions/checkout@v4