From f3767d944da2188dfe16e75b01f4cedcca963b5d Mon Sep 17 00:00:00 2001 From: d98762625 Date: Wed, 12 Feb 2020 13:39:24 +0000 Subject: [PATCH] make test action only run on PR on the master branch --- .github/workflows/test.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f3f634f..46bd409 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,6 +1,9 @@ name: Run lint and tests -on: [push] +on: + pull_request: + branches: + - master jobs: build: