run checks on release branches (#3267)

This commit is contained in:
Massimiliano Pippi 2022-09-22 16:25:34 +02:00 committed by GitHub
parent 820742cac7
commit 2b803a265b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 1 deletions

View File

@ -3,6 +3,10 @@ name: Black
on: on:
workflow_dispatch: # Activate this workflow manually workflow_dispatch: # Activate this workflow manually
pull_request: pull_request:
push:
branches:
# release branches have the form v1.9.x
- 'v[0-9].*[0-9].x'
jobs: jobs:

View File

@ -6,7 +6,7 @@ on:
branches: branches:
- main - main
tags: tags:
- v* - 'v[0-9].*[0-9].*[0-9]?(rc[0-9])'
env: env:
DOCKER_REPO_NAME: deepset/haystack DOCKER_REPO_NAME: deepset/haystack

View File

@ -4,6 +4,9 @@ on:
push: push:
branches: branches:
- main - main
# release branches have the form v1.9.x
- 'v[0-9].*[0-9].x'
jobs: jobs:
sync: sync:

View File

@ -3,6 +3,10 @@ name: Schemas
on: on:
workflow_dispatch: # Activate this workflow manually workflow_dispatch: # Activate this workflow manually
pull_request: pull_request:
push:
branches:
# release branches have the form v1.9.x
- 'v[0-9].*[0-9].x'
jobs: jobs:

View File

@ -5,6 +5,8 @@ on:
push: push:
branches: branches:
- main - main
# release branches have the form v1.9.x
- 'v[0-9].*[0-9].x'
pull_request: pull_request:
types: types:
- opened - opened