From 5283cf857678a6f254e2894dbbcbd858b28ec236 Mon Sep 17 00:00:00 2001 From: Brady Pascoe <18705892+bpas247@users.noreply.github.com> Date: Wed, 4 Sep 2019 14:37:46 -0700 Subject: [PATCH 1/2] ci(actions): fix for build not triggering on forked pull request Currently, the build is only being triggered whenever there is a push to the repository. This does not lead to a build being triggered whenever there is a push to a branch on a forked repo. This fix allows it to trigger on every push *or* every pull request. We'll probably need to also fix the configuration on the React-Bootstrap repo. --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6afc509c..ddff6735 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,5 +1,5 @@ name: Run Tests -on: [push] +on: [push, pull_request] jobs: test: name: Run Testing Suite From 723f91eff173da54a4668663ed1aba8ee885389e Mon Sep 17 00:00:00 2001 From: Brady Pascoe <18705892+bpas247@users.noreply.github.com> Date: Thu, 5 Sep 2019 09:39:59 -0700 Subject: [PATCH 2/2] feat(ci): only trigger test build on pushes and prs to master --- .github/workflows/test.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ddff6735..8252d777 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,5 +1,11 @@ name: Run Tests -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: + branches: + - master jobs: test: name: Run Testing Suite