From 28346e2eb7f93415ad4bca7922966f1ab1dc46b7 Mon Sep 17 00:00:00 2001 From: "ONBASE\\pwesolowski" Date: Mon, 20 Jan 2025 12:20:46 +0100 Subject: [PATCH] feat : updated pipeline --- .github/workflows/ci.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be3d9f953..287864dae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -107,7 +107,7 @@ jobs: name: "PMD Scan" runs-on: ubuntu-latest if: > - github.event_name == 'pull_request' && + github.event_name == 'pull_request' && github.event_name != 'schedule' && !contains(github.event.head_commit.message, '[skip pmd]') && !contains(github.event.head_commit.message, '[skip tests]') @@ -123,7 +123,7 @@ jobs: needs: - pre_commit if: > - (github.event_name == 'push' || github.actor == 'dependabot[bot]') && + (github.event_name == 'push' || github.actor == 'dependabot[bot]') && github.event_name != 'schedule' && !contains(github.event.head_commit.message, '[skip tests]') && !contains(github.event.head_commit.message, '[skip build]') @@ -151,7 +151,7 @@ jobs: needs: - pre_commit if: > - (github.event_name == 'push' || github.actor == 'dependabot[bot]') && + (github.event_name == 'push' || github.actor == 'dependabot[bot]') && github.event_name != 'schedule' && !contains(github.event.head_commit.message, '[skip tests]') && !contains(github.event.head_commit.message, '[skip build]') @@ -178,7 +178,7 @@ jobs: needs: - pre_commit if: > - (github.event_name == 'push' || github.actor == 'dependabot[bot]') && + (github.event_name == 'push' || github.actor == 'dependabot[bot]') && github.event_name != 'schedule' && !contains(github.event.head_commit.message, '[skip build]') && !contains(github.event.head_commit.message, '[skip tests]') && @@ -212,7 +212,7 @@ jobs: if: > needs.pre_commit.outputs.java_version_supported_by_repo != needs.pre_commit.outputs.java_version && github.event_name != 'pull_request' && - (github.ref_name == 'master' || startsWith(github.ref_name, 'release/')) && + (github.ref_name == 'master' || startsWith(github.ref_name, 'release/')) && github.event_name != 'schedule' && !contains(github.event.head_commit.message, '[skip build]') && !contains(github.event.head_commit.message, '[skip tests]') && @@ -267,7 +267,7 @@ jobs: - run_e2e_test if: > github.event_name == 'push' && - (github.ref_name == 'master' || startsWith(github.ref_name, 'release/')) && + (github.ref_name == 'master' || startsWith(github.ref_name, 'release/')) && github.event_name != 'schedule' && !(failure() || cancelled()) && !contains(github.event.head_commit.message, '[skip build]') @@ -302,7 +302,7 @@ jobs: if: > !(failure() || cancelled()) && (github.ref_name == 'master' || startsWith(github.ref_name, 'release/')) && - github.event_name != 'pull_request' && + github.event_name != 'pull_request' && github.event_name != 'schedule' && !contains(github.event.head_commit.message, '[skip build]') steps: @@ -325,7 +325,7 @@ jobs: - run_e2e_test if: > !(failure() || cancelled()) && - (github.ref_name == 'master' || startsWith(github.ref_name, 'release/')) && + (github.ref_name == 'master' || startsWith(github.ref_name, 'release/')) && github.event_name != 'schedule' && github.event_name != 'pull_request' && contains(github.event.head_commit.message, '[release]') @@ -372,7 +372,7 @@ jobs: - run_e2e_test if: > !(failure() || cancelled()) && - (github.ref_name == 'master' || startsWith(github.ref_name, 'release/')) && + (github.ref_name == 'master' || startsWith(github.ref_name, 'release/')) && github.event_name != 'schedule' && github.event_name != 'pull_request' && contains(github.event.head_commit.message, '[release]') @@ -407,7 +407,7 @@ jobs: - push_docker_images if: > !(failure() || cancelled()) && - (github.ref_name == 'master' || startsWith(github.ref_name, 'release/')) && + (github.ref_name == 'master' || startsWith(github.ref_name, 'release/')) && github.event_name != 'schedule' && github.event_name != 'pull_request' && contains(github.event.head_commit.message, '[release]')