From 5ab189629a14f4d85a3ef3c7e4d799eba2fdb5a3 Mon Sep 17 00:00:00 2001 From: Roland Date: Mon, 22 Jun 2020 16:49:56 +0200 Subject: [PATCH] Trigger linter on pull requests and pushes to master --- .github/workflows/linter.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 047a7cf02..5883a99a0 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -10,13 +10,17 @@ name: Lint Code Base # https://help.github.com/en/articles/workflow-syntax-for-github-actions # -############################# -# Start the job on all push # -############################# +################################################ +# Trigger the workflow on push or pull request # +# but only for the master branch # +################################################ on: push: - branches-ignore: - - 'master' + branches: + - master + pull_request: + branches: + - master ############### # Set the Job #