From c6fe5c115cb1c71c25ebfc02fe44ae89ad07ff84 Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Sat, 27 Apr 2024 01:23:18 -0700 Subject: [PATCH 1/2] ci: add paths for bloat PR --- .github/workflows/bloat.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/bloat.yml b/.github/workflows/bloat.yml index 731faf8c9a0b..8728cee96831 100644 --- a/.github/workflows/bloat.yml +++ b/.github/workflows/bloat.yml @@ -1,5 +1,13 @@ on: # rebuild any PRs and main branch changes pull_request: + branches: ["main"] + paths: + - '.github/workflows/bloat.yml' + - 'Cargo.toml' + - 'Cargo.lock' + - 'crates/**' + - 'ee/**' + - '!ee/tabby-ui/**' push: branches: - main From 78452f130af85ca3d98292ba395fa0125461bd4f Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Sat, 27 Apr 2024 01:41:59 -0700 Subject: [PATCH 2/2] update --- .github/workflows/bloat.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/bloat.yml b/.github/workflows/bloat.yml index 8728cee96831..f9af7631516e 100644 --- a/.github/workflows/bloat.yml +++ b/.github/workflows/bloat.yml @@ -14,6 +14,8 @@ on: # rebuild any PRs and main branch changes name: bloat +permissions: write-all + concurrency: group: ${{ github.workflow_ref }}-${{ github.head_ref || github.ref_name }}