From 1c50ea1ad3e02c0227906648f7e40ea577e2b245 Mon Sep 17 00:00:00 2001 From: Zafei-Erin <897659752@qq.com> Date: Thu, 22 Feb 2024 00:19:31 +0800 Subject: [PATCH] ci --- .github/workflows/Backend-ci .yml | 3 ++- .github/workflows/Frontend-ci.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Backend-ci .yml b/.github/workflows/Backend-ci .yml index cf7bfc3..69decfe 100644 --- a/.github/workflows/Backend-ci .yml +++ b/.github/workflows/Backend-ci .yml @@ -2,10 +2,11 @@ name: Backend-ci on: push: - paths: [backend/**] branches: [main] + paths: './backend/**' pull_request: types: [opened, synchronize, reopened] + paths: './backend/**' jobs: git-ci: diff --git a/.github/workflows/Frontend-ci.yaml b/.github/workflows/Frontend-ci.yaml index bccb7da..c283b2a 100644 --- a/.github/workflows/Frontend-ci.yaml +++ b/.github/workflows/Frontend-ci.yaml @@ -2,10 +2,11 @@ name: Frontend-ci on: push: - paths: [frontend/**] branches: [main] + paths: './frontend/**' pull_request: types: [opened, synchronize, reopened] + paths: './frontend/**' jobs: git-ci: