From bea84a4a13eb07b0e14b9023d866ecd6d8fc1b27 Mon Sep 17 00:00:00 2001 From: tris203 Date: Sat, 16 Dec 2023 13:55:13 +0000 Subject: [PATCH] ci: tests only on main --- .github/workflows/format.yml | 8 +++++++- .github/workflows/lint.yml | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index a5f3ce3..c7b1213 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -1,6 +1,12 @@ name: Format -on: [push, pull_request] +on: + push: + branches: + - "main" + pull_request: + branches: + - "main" jobs: format: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 46759d5..527e04f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,6 +1,12 @@ name: Lint -on: [push, pull_request] +on: + push: + branches: + - "main" + pull_request: + branches: + - "main" jobs: lint: