Ver Fonte

Merge pull request #145 from renbaoshuo/ci/no-docs-run

chore: not run tests when docs changes
Mike Mirzayanov há 1 ano atrás
pai
commit
abe3c225e8
1 ficheiros alterados com 15 adições e 1 exclusões
  1. 15 1
      .github/workflows/ci.yml

+ 15 - 1
.github/workflows/ci.yml

@@ -1,5 +1,19 @@
 name: CI
-on: [push, pull_request]
+
+on: 
+  push:
+    paths-ignore:
+      - 'docs/**'
+      - 'LICENSE'
+      - 'read.me'
+      - 'README.md'
+  pull_request:
+    paths-ignore:
+      - 'docs/**'
+      - 'LICENSE'
+      - 'read.me'
+      - 'README.md'
+
 env:
   TEST_REF_FORBID_GEN_REFS: true