]> go.fuhry.dev Git - fsnotify.git/commitdiff
Eh, also update the other workflows
authorMartin Tournoij <martin@arp242.net>
Thu, 20 Oct 2022 01:25:14 +0000 (03:25 +0200)
committerMartin Tournoij <martin@arp242.net>
Thu, 20 Oct 2022 01:25:14 +0000 (03:25 +0200)
.github/workflows/staticcheck.yml
.github/workflows/test.yml

index fdc031dc2eff191f594ac2594f289db428d366cc..2906aa96d69baac2f908830a15636f5c48f9d08c 100644 (file)
@@ -1,7 +1,9 @@
 name: 'staticcheck'
 on:
-  push:
+  pull_request:
     paths: ['**.go', 'go.mod', '.github/workflows/*']
+  push:
+    branches: ['main', 'aix']
 
 jobs:
   staticcheck:
index a83fe50c0c5c5dd7d8529ca9255ad85e94a805a1..0a8455022582c7c46d201b0e2f3177ceca41be30 100644 (file)
@@ -1,7 +1,9 @@
 name: 'test'
 on:
-  push:
+  pull_request:
     paths: ['**.go', 'go.mod', '.github/workflows/*']
+  push:
+    branches: ['main', 'aix']
 
 jobs:
   # Test Windows and Linux with the latest Go version and the oldest we support.