Skip to content

Commit 9f36239

Browse files
authored
Change the triggering of checks (#22)
1 parent aa287e8 commit 9f36239

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

.github/workflows/lint.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
name: Lints
2+
23
on:
34
push:
45
tags:
56
- v*
67
branches:
78
- main
8-
- master
9-
- release-*
10-
- autobump/*
9+
- 'release-**'
1110
pull_request:
11+
types:
12+
- opened
13+
- edited
14+
- reopened
1215

1316
env:
1417
FORCE_COLOR: true
1518

1619
jobs:
20+
1721
golangci:
1822
name: Golangci
1923
runs-on: ubuntu-latest
@@ -27,6 +31,7 @@ jobs:
2731
with:
2832
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
2933
version: v1.57.2
34+
3035
editorconfig:
3136
name: EditorConfig
3237
runs-on: ubuntu-latest

.github/workflows/mage.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ on:
66
- v*
77
branches:
88
- main
9-
- master
10-
- release-*
11-
- autobump/*
9+
- 'release-**'
1210
pull_request:
11+
types:
12+
- opened
13+
- edited
14+
- reopened
1315

1416
env:
1517
FORCE_COLOR: true

0 commit comments

Comments
 (0)