From 3cecc5163ec3f437d4c877d4bc70ad6b5f95109b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Rold=C3=A1n=20Betancort?= Date: Fri, 16 Sep 2022 19:26:50 +0100 Subject: [PATCH] only build one time in PRs --- .github/workflows/lint.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 667a091..22cea01 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -1,8 +1,11 @@ --- name: "Lint" -on: # yamllint disable-line rule:truthy - - "push" - - "pull_request" +on: # yamllint disable-line rule:truthy + push: + branches: + - "main" + pull_request: + branches: ["*"] jobs: lint: name: "Lint"