Bladeren bron

:octocat: limit jobs to main branch

codemasher 4 jaren geleden
bovenliggende
commit
257ab2ba60
1 gewijzigde bestanden met toevoegingen van 7 en 3 verwijderingen
  1. 7 3
      .github/workflows/tests.yml

+ 7 - 3
.github/workflows/tests.yml

@@ -2,8 +2,12 @@
 # https://github.com/sebastianbergmann/phpunit/blob/master/.github/workflows/ci.yml
 # https://github.com/sebastianbergmann/phpunit/blob/master/.github/workflows/ci.yml
 
 
 on:
 on:
-  - pull_request
-  - push
+  push:
+    branches:
+      - main
+  pull_request:
+    branches:
+      - main
 
 
 name: "Continuous Integration"
 name: "Continuous Integration"
 
 
@@ -51,7 +55,7 @@ jobs:
           php-version: "7.4"
           php-version: "7.4"
           coverage: none
           coverage: none
           tools: phpDocumentor
           tools: phpDocumentor
-          extensions: ast, gd, imagick, json, mbstring
+          extensions: gd, imagick, json, mbstring
 
 
       - name: "Build Docs"
       - name: "Build Docs"
         run: phpdoc --config=phpdoc.xml
         run: phpdoc --config=phpdoc.xml