From 4f9e0edec3d47e0c1b7e7073c1b6bc10a69ca1d8 Mon Sep 17 00:00:00 2001 From: Eva Decker Date: Sat, 7 Sep 2024 19:20:42 -0400 Subject: [PATCH] Don't run CI tests when unnecessary --- .github/workflows/ci.yml | 5 +++++ .github/workflows/coverage.yml | 7 +++++-- .github/workflows/release.yml | 3 +-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a4cc98..376ec67 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,9 +3,14 @@ name: CI on: pull_request: branches: main + paths: + - "convex/**" + - "e2e/**" + - "src/**" push: branches: main + concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 6370505..5df3357 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -2,8 +2,11 @@ name: Coverage on: pull_request: - branches: - - main + branches: main + paths: + - "convex/**" + - "e2e/**" + - "src/**" concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 550d030..baa55ec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,8 +2,7 @@ name: Release on: push: - branches: - - main + branches: main concurrency: ${{ github.workflow }}-${{ github.ref }}