From 56ec7c05f650736f0fbf965acfee408c0a1d3c0f Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Sun, 12 Nov 2023 13:03:39 -0800 Subject: [PATCH] chore(ci): update cis for tabby-webserver --- .github/workflows/autofix.yml | 9 +++++++-- .github/workflows/ci.yml | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index 866fceb..ea401db 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -2,8 +2,13 @@ name: autofix.ci on: pull_request: - push: - branches: [ "main" ] + branches: ["main" ] + paths: + - 'Cargo.toml' + - 'Cargo.lock' + - 'crates/**' + - 'ee/tabby-webserver/**' + permissions: contents: read diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5275c7e..fd90297 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,7 @@ on: - 'Cargo.toml' - 'Cargo.lock' - 'crates/**' + - 'ee/tabby-webserver/**' concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}