Explorar el Código

Merge pull request #292 from yisibl/add-ignore

chore: CI add ignore files (paths-ignore)
LongYinan hace 4 años
padre
commit
12ada713ce
Se han modificado 2 ficheros con 21 adiciones y 0 borrados
  1. 15 0
      .editorconfig
  2. 6 0
      .github/workflows/CI.yaml

+ 15 - 0
.editorconfig

@@ -0,0 +1,15 @@
+# EditorConfig helps developers define and maintain consistent
+# coding styles between different editors or IDEs
+# http://editorconfig.org
+root = true
+
+[*]
+indent_style = space
+indent_size = 2
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.md]
+trim_trailing_whitespace = false

+ 6 - 0
.github/workflows/CI.yaml

@@ -10,6 +10,12 @@ on:
       - main
     tags-ignore:
       - '**'
+    paths-ignore:
+      - '**/*.md'
+      - 'LICENSE'
+      - '**/*.gitignore'
+      - '.editorconfig'
+      - 'docs/**'
   pull_request: null
 
 jobs: