]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
only trigger workflows on .py file changes
authorBob Halley <halley@dnspython.org>
Sun, 6 Mar 2022 22:58:44 +0000 (14:58 -0800)
committerBob Halley <halley@dnspython.org>
Sun, 6 Mar 2022 22:58:44 +0000 (14:58 -0800)
.github/workflows/codeql-analysis.yml
.github/workflows/python-2-2-branch.yml
.github/workflows/python-package.yml

index f94074b4116c67e1c681abd62c8bd03f947355d4..ef80e90f91e51466cfcca2dc3ee52d5f5ccf56b3 100644 (file)
@@ -14,6 +14,8 @@ name: "CodeQL"
 on:
   push:
     branches: [ master ]
+    paths:
+      - '**.py'
   pull_request:
     # The branches below must be a subset of the branches above
     branches: [ master ]
index e749b29ccda2c75723643e8c13733be071081e9f..cb9c50b0f38fcc6f04945ae5f20ddc927aed7e81 100644 (file)
@@ -5,9 +5,10 @@ name: Python 2.2 build
 
 on:
   push:
-    branches: [ "2.2" ]
-  pull_request:
-    branches: [ "2.2" ]
+    branches:
+      - '2.2'
+    paths:
+      - '**.py'
 
 jobs:
   build:
index 8954a481f7756a0952d1d86290ff429435feb418..b8447749b095662fb910ddf46514aaf72c7b89bb 100644 (file)
@@ -5,9 +5,13 @@ name: Python build
 
 on:
   push:
-    branches: [ master ]
+    branches:
+      - master
+    paths:
+      - '**.py'
   pull_request:
-    branches: [ master ]
+    branches:
+      - master
 
 jobs:
   build: