From 8a72cb08af13922890b171e9dbffe178948c74c9 Mon Sep 17 00:00:00 2001 From: tedison Date: Thu, 15 Aug 2024 14:07:04 -0400 Subject: [PATCH] update workflows --- .github/workflows/knip.yml | 5 +++-- .github/workflows/lint.yml | 6 +++--- .github/workflows/test-contracts.yml | 7 +++++-- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/knip.yml b/.github/workflows/knip.yml index bc3b5d2b5..f18e50ce7 100644 --- a/.github/workflows/knip.yml +++ b/.github/workflows/knip.yml @@ -2,14 +2,15 @@ name: knip on: push: + branches: + - main paths: - "client/**" - branches: [main] + pull_request: paths: - "client/**" - jobs: knip: runs-on: ubuntu-latest diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index adcbb9635..227b5e90a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,15 +2,15 @@ name: lint on: push: - branches: [main] + branches: + - main paths: - - "client/**" + - "client/**" pull_request: paths: - "client/**" - jobs: prettier: runs-on: ubuntu-latest diff --git a/.github/workflows/test-contracts.yml b/.github/workflows/test-contracts.yml index d41cdcd8c..7ef731630 100644 --- a/.github/workflows/test-contracts.yml +++ b/.github/workflows/test-contracts.yml @@ -1,10 +1,13 @@ name: test-contracts on: - pull_request: + push: + branches: + - main paths: - "contracts/**" - push: + + pull_request: paths: - "contracts/**"