Преглед изворни кода

Skip CI if changes are limited to non-code paths

Jeremy Stretch пре 1 година
родитељ
комит
a3c4984623
1 измењених фајлова са 12 додато и 1 уклоњено
  1. 12 1
      .github/workflows/ci.yml

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

@@ -1,7 +1,18 @@
 name: CI
-on: [push, pull_request]
+
+on:
+  push:
+    paths-ignore:
+      - 'contrib/**'
+      - 'docs/**'
+  pull_request:
+    paths-ignore:
+      - 'contrib/**'
+      - 'docs/**'
+
 permissions:
   contents: read
+
 jobs:
   build:
     runs-on: ubuntu-latest