From 4a1de735fa28a9c117c1da2b408377f6db2c7d7e Mon Sep 17 00:00:00 2001
From: Matt Joiner <anacrolix@gmail.com>
Date: Sun, 22 Aug 2021 16:59:40 +1000
Subject: [PATCH] Don't run linter on master branch

Super unimpressed with this pedantic rubbish. PRs to adjust the settings welcome.
---
 .github/workflows/linter.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml
index bc3a7d35..b5342ace 100644
--- a/.github/workflows/linter.yml
+++ b/.github/workflows/linter.yml
@@ -1,6 +1,10 @@
 name: GolangCI-Lint
 
-on: [push, pull_request]
+on:
+  push:
+    branches: [ '!master' ]
+  pull_request:
+    branches: [ '!master' ]
 
 jobs:
   golint:
-- 
2.51.0