From 257ab2ba600e89499c4903d60bdae741ed78e198 Mon Sep 17 00:00:00 2001 From: codemasher Date: Fri, 19 Nov 2021 23:32:19 +0100 Subject: [PATCH] :octocat: limit jobs to main branch --- .github/workflows/tests.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 910dd7e30..8401533e2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -2,8 +2,12 @@ # https://github.com/sebastianbergmann/phpunit/blob/master/.github/workflows/ci.yml on: - - pull_request - - push + push: + branches: + - main + pull_request: + branches: + - main name: "Continuous Integration" @@ -51,7 +55,7 @@ jobs: php-version: "7.4" coverage: none tools: phpDocumentor - extensions: ast, gd, imagick, json, mbstring + extensions: gd, imagick, json, mbstring - name: "Build Docs" run: phpdoc --config=phpdoc.xml