From fbadf16d1b6020413981ac36289d955c6876af35 Mon Sep 17 00:00:00 2001 From: Andreas Coroiu Date: Tue, 10 Dec 2024 11:17:54 +0100 Subject: [PATCH] feat: tweak lint to run on PR and not just push --- .github/workflows/lint.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9dc72c7fdda..11eddaaf1e9 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,12 +1,20 @@ name: Lint on: - push: + pull_request: + types: [opened, synchronize] branches-ignore: - 'l10n_master' - 'cf-pages' paths-ignore: - '.github/workflows/**' + push: + branches: + - 'main' + - 'rc' + - 'hotfix-rc-browser' + paths-ignore: + - '.github/workflows/**' workflow_dispatch: inputs: {}