From aeb33dfb3468f809e98062efb17ddaa77835f639 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Thu, 30 Nov 2023 14:50:53 -0300 Subject: [PATCH] build: avoid duplicated CI runs --- .github/workflows/coverage.yml | 6 +++++- .github/workflows/lint-soft.yml | 3 +++ .github/workflows/lint.yml | 3 +++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 19a9b4b36..ddd541552 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -1,6 +1,10 @@ name: coverage -on: [pull_request] +on: + push: + branches: + - "main" + pull_request: jobs: coverage: diff --git a/.github/workflows/lint-soft.yml b/.github/workflows/lint-soft.yml index 5ce0d37f8..f4762357e 100644 --- a/.github/workflows/lint-soft.yml +++ b/.github/workflows/lint-soft.yml @@ -1,6 +1,9 @@ name: lint-soft + on: push: + branches: + - "main" pull_request: permissions: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 16f38b8a6..f2cf80ab4 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,6 +1,9 @@ name: lint + on: push: + branches: + - "main" pull_request: permissions: