From ab6a28d9e47922132ea4adbac6334e2e2f80c5a4 Mon Sep 17 00:00:00 2001 From: Richard Cox Date: Tue, 25 Jul 2023 17:32:20 +0100 Subject: [PATCH] Resolve some basic todo --- .github/workflows/backend-cleanup-images.yml | 1 - .github/workflows/backend-main.yml | 8 ++++---- .github/workflows/dashboard-build-container.yml | 2 ++ .github/workflows/dashboard-build-extension.yml | 2 ++ .github/workflows/dashboard-test.yaml | 9 ++++++--- .../{backend-release-next.yml => release-next.yml} | 0 .github/workflows/{backend-release.yml => release.yml} | 0 7 files changed, 14 insertions(+), 8 deletions(-) rename .github/workflows/{backend-release-next.yml => release-next.yml} (100%) rename .github/workflows/{backend-release.yml => release.yml} (100%) diff --git a/.github/workflows/backend-cleanup-images.yml b/.github/workflows/backend-cleanup-images.yml index 2a9d094..285d114 100644 --- a/.github/workflows/backend-cleanup-images.yml +++ b/.github/workflows/backend-cleanup-images.yml @@ -1,4 +1,3 @@ -# TODO: RC make backend github workflows dependent on changes to backend folder name: Backend - Delete old container images on: diff --git a/.github/workflows/backend-main.yml b/.github/workflows/backend-main.yml index 75c6b43..2c4aec0 100644 --- a/.github/workflows/backend-main.yml +++ b/.github/workflows/backend-main.yml @@ -3,12 +3,12 @@ name: Backend - CI on: push: branches: [ main ] - paths-ignore: - - 'backend/README.md' + paths: + - backend pull_request: branches: [ main ] - paths-ignore: - - 'backend/README.md' + paths: + - backend # nightly schedule: - cron: '0 0 * * *' diff --git a/.github/workflows/dashboard-build-container.yml b/.github/workflows/dashboard-build-container.yml index b9d372f..f769253 100644 --- a/.github/workflows/dashboard-build-container.yml +++ b/.github/workflows/dashboard-build-container.yml @@ -5,6 +5,8 @@ on: # push: # branches: # - main + # paths: + # - dashboard workflow_dispatch: defaults: diff --git a/.github/workflows/dashboard-build-extension.yml b/.github/workflows/dashboard-build-extension.yml index 25b8ee2..73a3177 100644 --- a/.github/workflows/dashboard-build-extension.yml +++ b/.github/workflows/dashboard-build-extension.yml @@ -9,6 +9,8 @@ on: pull_request: branches: - main + paths: + - dashboard defaults: run: diff --git a/.github/workflows/dashboard-test.yaml b/.github/workflows/dashboard-test.yaml index 078e073..8ed818d 100644 --- a/.github/workflows/dashboard-test.yaml +++ b/.github/workflows/dashboard-test.yaml @@ -1,12 +1,15 @@ -# TODO: RC make dashboard github workflows dependent on changes to dashboard folder name: Dashboard - Tests on: push: branches: - main + paths: + - dashboard pull_request: - branches: - - main + branches: + - main + paths: + - dashboard workflow_dispatch: environment: description: 'Environment to run tests against' diff --git a/.github/workflows/backend-release-next.yml b/.github/workflows/release-next.yml similarity index 100% rename from .github/workflows/backend-release-next.yml rename to .github/workflows/release-next.yml diff --git a/.github/workflows/backend-release.yml b/.github/workflows/release.yml similarity index 100% rename from .github/workflows/backend-release.yml rename to .github/workflows/release.yml