Skip to content

Commit cf3a92d

Browse files
committed
ci: fixed auto-merge
Signed-off-by: Frédéric BIDON <[email protected]>
1 parent 75ee09a commit cf3a92d

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.github/dependabot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ updates:
3737
patterns:
3838
- "github.com/stretchr/testify"
3939

40-
golang.org-dependencies:
40+
golang-org-dependencies:
4141
patterns:
4242
- "golang.org/*"
4343

.github/workflows/auto-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
3636

3737
- name: Auto-merge dependabot PRs for golang.org updates
38-
if: contains(steps.metadata.outputs.dependency-group, 'golang.org-dependencies')
38+
if: contains(steps.metadata.outputs.dependency-group, 'golang-org-dependencies')
3939
run: gh pr merge --auto --rebase "$PR_URL"
4040
env:
4141
PR_URL: ${{github.event.pull_request.html_url}}

.golangci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ linters:
1717
- godox
1818
- gosmopolitan
1919
- inamedparam
20+
- intrange # disabled while < go1.22
2021
- ireturn
2122
- lll
2223
- musttag
@@ -65,3 +66,12 @@ formatters:
6566
- third_party$
6667
- builtin$
6768
- examples$
69+
issues:
70+
# Maximum issues count per one linter.
71+
# Set to 0 to disable.
72+
# Default: 50
73+
max-issues-per-linter: 0
74+
# Maximum count of issues with the same text.
75+
# Set to 0 to disable.
76+
# Default: 3
77+
max-same-issues: 0

0 commit comments

Comments
 (0)