aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexSm <alex@ydb.tech>2023-12-16 17:10:00 +0300
committeralexv-smirnov <alex@ydb.tech>2023-12-16 17:41:12 +0300
commit0cbd0cffa5f7ac88780b91e95524bed4010f725c (patch)
tree33928c548ef1ae31b88e18a093d96cbe3e5739f9
parent1e762860dfff9f429237f758ea72ab153ae692e4 (diff)
downloadydb-0cbd0cffa5f7ac88780b91e95524bed4010f725c.tar.gz
Run checks switches
Run checks switches Pull Request resolved: https://github.com/ydb-platform/ydb/pull/533
-rw-r--r--.github/workflows/allowed_dirs.yml1
-rw-r--r--.github/workflows/postcommit_asan.yml1
-rw-r--r--.github/workflows/postcommit_relwithdebinfo.yml1
-rw-r--r--.github/workflows/pr_check.yml1
4 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/allowed_dirs.yml b/.github/workflows/allowed_dirs.yml
index c2b997abec..19720d6cd8 100644
--- a/.github/workflows/allowed_dirs.yml
+++ b/.github/workflows/allowed_dirs.yml
@@ -8,6 +8,7 @@ on:
jobs:
build:
+ if: ${{ fromJSON(vars.CHECKS_SWITCH).allowed_dirs == true}}
runs-on: ubuntu-latest
steps:
diff --git a/.github/workflows/postcommit_asan.yml b/.github/workflows/postcommit_asan.yml
index 3fdffccd82..89de6185e0 100644
--- a/.github/workflows/postcommit_asan.yml
+++ b/.github/workflows/postcommit_asan.yml
@@ -11,6 +11,7 @@ on:
- '*'
jobs:
build_and_test:
+ if: ${{ fromJSON(vars.CHECKS_SWITCH).postcommit_asan == true}}
name: Build and test release-asan
uses: ./.github/workflows/build_and_test_ya_provisioned.yml
with:
diff --git a/.github/workflows/postcommit_relwithdebinfo.yml b/.github/workflows/postcommit_relwithdebinfo.yml
index 2631552d0f..34eb529465 100644
--- a/.github/workflows/postcommit_relwithdebinfo.yml
+++ b/.github/workflows/postcommit_relwithdebinfo.yml
@@ -10,6 +10,7 @@ on:
- '*'
jobs:
build_and_test:
+ if: ${{ fromJSON(vars.CHECKS_SWITCH).postcommit_relwithdebinfo == true}}
name: Build and test relwithdebinfo
uses: ./.github/workflows/build_and_test_ya_provisioned.yml
with:
diff --git a/.github/workflows/pr_check.yml b/.github/workflows/pr_check.yml
index 3cf3f9f86e..d9d0899aef 100644
--- a/.github/workflows/pr_check.yml
+++ b/.github/workflows/pr_check.yml
@@ -18,6 +18,7 @@ concurrency:
cancel-in-progress: true
jobs:
check-running-allowed:
+ if: ${{ fromJSON(vars.CHECKS_SWITCH).pr_check == true}}
runs-on: ubuntu-latest
outputs:
result: ${{ steps.check-ownership-membership.outputs.result }}