From ebe632eff02e01ffc14bdca7d72a62c7e9918ab8 Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Fri, 13 Nov 2020 19:15:17 +0000 Subject: [PATCH] Limit push to `master` instead --- .github/workflows/test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6224df00..fdd20d0f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,14 +1,14 @@ name: Test on: - push: {} + push: + branches: + - master pull_request: paths-ignore: - 'docs/**' - branches: - # PRs from branches on the origin repo get a build from the 'push' - # trigger. So the pull_request trigger is limited to fork branches - - '**:**' + workflow_dispatch: + # allow manual runs on branches without a PR jobs: pre-commit: