From f7fde8b7134b2e7b29f30b2f01804bdb0916d1ee Mon Sep 17 00:00:00 2001 From: Pablo Chacin Date: Fri, 12 Jul 2024 11:38:45 +0200 Subject: [PATCH] fix duplicated ci job triggers Signed-off-by: Pablo Chacin --- .github/workflows/lint.yml | 7 +++++-- .github/workflows/test.yml | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f25ca56..b8b25d9 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,13 +1,16 @@ name: lint on: - pull_request: - workflow_dispatch: push: + branches: + - main paths-ignore: - "docs/**" - README.md - "releases/**" + pull_request: + branches: + - main permissions: contents: read diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a67ec41..0c21636 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,13 +1,16 @@ name: test on: - pull_request: - workflow_dispatch: push: + branches: + - main paths-ignore: - "docs/**" - README.md - "releases/**" + pull_request: + branches: + - main jobs: test: