From c03d4657ef7267a5facaf559ca255576e1dc8055 Mon Sep 17 00:00:00 2001 From: bkis Date: Mon, 30 Sep 2024 13:32:55 +0200 Subject: [PATCH] Update workflows --- .github/workflows/client-build.yml | 3 +++ .github/workflows/docs.yml | 7 +------ .github/workflows/server-style.yml | 3 +++ .github/workflows/server-tests.yml | 3 +++ 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/client-build.yml b/.github/workflows/client-build.yml index d7fd879b..baa14867 100644 --- a/.github/workflows/client-build.yml +++ b/.github/workflows/client-build.yml @@ -4,6 +4,7 @@ on: push: branches: - development + - main paths: - "Tekst-Web/public/**" - "Tekst-Web/scripts/**" @@ -12,6 +13,8 @@ on: - "Tekst-Web/package-lock.json" - ".github/workflows/client-build.yml" pull_request: + branches: + - development paths: - "Tekst-Web/public/**" - "Tekst-Web/scripts/**" diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7370e8e8..eb857c84 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -2,16 +2,11 @@ name: Documentation on: push: - branches: - - development - paths: - - 'docs/**' - pull_request: branches: - main - - development paths: - 'docs/**' + - '.github/workflows/docs.yml' workflow_dispatch: permissions: diff --git a/.github/workflows/server-style.yml b/.github/workflows/server-style.yml index c4ab568d..e4fed01b 100644 --- a/.github/workflows/server-style.yml +++ b/.github/workflows/server-style.yml @@ -4,6 +4,7 @@ on: push: branches: - development + - main paths: - "Tekst-API/tekst/**" - "Tekst-API/tests/**" @@ -11,6 +12,8 @@ on: - "Tekst-API/poetry.lock" - ".github/workflows/server-style.yml" pull_request: + branches: + - development paths: - "Tekst-API/tekst/**" - "Tekst-API/tests/**" diff --git a/.github/workflows/server-tests.yml b/.github/workflows/server-tests.yml index aaf321d5..99c67f19 100644 --- a/.github/workflows/server-tests.yml +++ b/.github/workflows/server-tests.yml @@ -4,6 +4,7 @@ on: push: branches: - development + - main paths: - "Tekst-API/tekst/**" - "Tekst-API/tests/**" @@ -11,6 +12,8 @@ on: - "Tekst-API/poetry.lock" - ".github/workflows/server-tests.yml" pull_request: + branches: + - development paths: - "Tekst-API/tekst/**" - "Tekst-API/tests/**"