]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Don't run linter on master branch
authorMatt Joiner <anacrolix@gmail.com>
Sun, 22 Aug 2021 06:59:40 +0000 (16:59 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Sun, 22 Aug 2021 07:00:06 +0000 (17:00 +1000)
Super unimpressed with this pedantic rubbish. PRs to adjust the settings welcome.

.github/workflows/linter.yml

index bc3a7d35bf1f213f592728ba667ce0059e4c820b..b5342ace61ec66925c021caafd0f4580aa52c285 100644 (file)
@@ -1,6 +1,10 @@
 name: GolangCI-Lint
 
-on: [push, pull_request]
+on:
+  push:
+    branches: [ '!master' ]
+  pull_request:
+    branches: [ '!master' ]
 
 jobs:
   golint: