From 982af24b4f6f4c161827c414fd3002d5b4235492 Mon Sep 17 00:00:00 2001 From: Kevin Burke Date: Thu, 20 Jun 2024 20:46:02 -0700 Subject: [PATCH] .github: ensure golangci-lint runs on PR's as well Currently it just fails the main branch because it's not a requirement of a passing build. --- .github/workflows/golangci-lint.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index f2d3228..14d8ffe 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -9,6 +9,10 @@ name: golangci-lint - '**.go' - .golangci.yml - .github/workflows/golangci-lint.yml + pull_request: + branches: + - main + jobs: lint: