summaryrefslogtreecommitdiff
path: root/.github/workflows/linters.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/linters.yml')
-rw-r--r--.github/workflows/linters.yml10
1 files changed, 1 insertions, 9 deletions
diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml
index a2294ed9..79e00f9b 100644
--- a/.github/workflows/linters.yml
+++ b/.github/workflows/linters.yml
@@ -1,14 +1,6 @@
name: Linters
-on:
- push:
- pull_request:
- branches:
- # Branches from forks have the form 'user:branch-name' so we only run
- # this job on pull_request events for branches that look like fork
- # branches. Without this we would end up running this job twice for non
- # forked PRs, once for the push and then once for opening the PR.
- - "**:**"
+on: [push, pull_request]
jobs:
golangci-lint: