Browse Source

ci: don't trigger on documentation-only commits

Anonymous Maarten 2 days ago
parent
commit
ae3869bf85
1 changed files with 9 additions and 2 deletions
  1. 9 2
      .github/workflows/build.yml

+ 9 - 2
.github/workflows/build.yml

@@ -1,6 +1,13 @@
 name: 'Build (All)'
 name: 'Build (All)'
-
-on: [push, pull_request]
+on:
+  push:
+    paths-ignore:
+      - 'docs/**'
+      - '*.md'
+  pull_request:
+    paths-ignore:
+      - 'docs/**'
+      - '*.md'
 
 
 concurrency:
 concurrency:
   group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
   group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}