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 }}