From 2b803a265b6e66a46ec7e6688a2fd2b7b3114d77 Mon Sep 17 00:00:00 2001 From: Massimiliano Pippi Date: Thu, 22 Sep 2022 16:25:34 +0200 Subject: [PATCH] run checks on release branches (#3267) --- .github/workflows/black.yml | 4 ++++ .github/workflows/docker_release.yml | 2 +- .github/workflows/readme_integration.yml | 3 +++ .github/workflows/schemas.yml | 4 ++++ .github/workflows/tests.yml | 2 ++ 5 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index 58224aa67..595688597 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -3,6 +3,10 @@ name: Black on: workflow_dispatch: # Activate this workflow manually pull_request: + push: + branches: + # release branches have the form v1.9.x + - 'v[0-9].*[0-9].x' jobs: diff --git a/.github/workflows/docker_release.yml b/.github/workflows/docker_release.yml index 53cbec6fc..ffe008556 100644 --- a/.github/workflows/docker_release.yml +++ b/.github/workflows/docker_release.yml @@ -6,7 +6,7 @@ on: branches: - main tags: - - v* + - 'v[0-9].*[0-9].*[0-9]?(rc[0-9])' env: DOCKER_REPO_NAME: deepset/haystack diff --git a/.github/workflows/readme_integration.yml b/.github/workflows/readme_integration.yml index cabbfa97d..12816a943 100644 --- a/.github/workflows/readme_integration.yml +++ b/.github/workflows/readme_integration.yml @@ -4,6 +4,9 @@ on: push: branches: - main + # release branches have the form v1.9.x + - 'v[0-9].*[0-9].x' + jobs: sync: diff --git a/.github/workflows/schemas.yml b/.github/workflows/schemas.yml index d9a7346ea..ae896edd8 100644 --- a/.github/workflows/schemas.yml +++ b/.github/workflows/schemas.yml @@ -3,6 +3,10 @@ name: Schemas on: workflow_dispatch: # Activate this workflow manually pull_request: + push: + branches: + # release branches have the form v1.9.x + - 'v[0-9].*[0-9].x' jobs: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bcb4d2037..1cf535f02 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,6 +5,8 @@ on: push: branches: - main + # release branches have the form v1.9.x + - 'v[0-9].*[0-9].x' pull_request: types: - opened