From 1765918fe0540581fe527e4929b9d11287de362a Mon Sep 17 00:00:00 2001 From: josegonzalez Date: Fri, 12 May 2023 22:50:50 -0400 Subject: [PATCH] fix: do not run linting twice for pull requests --- .github/workflows/lint.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c585c7d..b989d2c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,7 +2,13 @@ name: 'lint' # yamllint disable-line rule:truthy -on: [push, pull_request] +on: + pull_request: + branches: + - '*' + push: + branches: + - 'master' jobs: hadolint: