소스 검색

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

chore: not run tests when docs changes
Mike Mirzayanov 1 년 전
부모
커밋
abe3c225e8
1개의 변경된 파일15개의 추가작업 그리고 1개의 파일을 삭제
  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