From 10257e2994f62bb94764feacfb25e28c4bc613d9 Mon Sep 17 00:00:00 2001 From: Jon Cram Date: Fri, 10 Sep 2021 13:46:57 +0100 Subject: [PATCH] Run git-auto-commit, linter and tests checks on pull requests --- .github/workflows/git-auto-commit.yml | 6 +++++- .github/workflows/linter.yml | 7 ++++++- .github/workflows/tests.yml | 7 +++++-- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/git-auto-commit.yml b/.github/workflows/git-auto-commit.yml index a9f16ff..f3265f5 100644 --- a/.github/workflows/git-auto-commit.yml +++ b/.github/workflows/git-auto-commit.yml @@ -1,6 +1,10 @@ name: git-auto-commit -on: push +on: + push: + branches: + - master + pull_request: jobs: git-auto-commit: diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 5fc5555..38767e3 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -1,5 +1,10 @@ name: Lint Code Base -on: push + +on: + push: + branches: + - master + pull_request: jobs: build: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 206d903..0f5808a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,6 +1,10 @@ name: tests -on: push +on: + push: + branches: + - master + pull_request: jobs: tests: @@ -14,4 +18,3 @@ jobs: - name: Run Tests run: yarn test -