Skip to content

Commit f51a94d

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

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
@@ -16,6 +16,7 @@ linters:
1616
- godox
1717
- gosmopolitan
1818
- inamedparam
19+
- intrange # disabled while < go1.22
1920
- ireturn
2021
- lll
2122
- musttag
@@ -63,3 +64,12 @@ formatters:
6364
- third_party$
6465
- builtin$
6566
- examples$
67+
issues:
68+
# Maximum issues count per one linter.
69+
# Set to 0 to disable.
70+
# Default: 50
71+
max-issues-per-linter: 0
72+
# Maximum count of issues with the same text.
73+
# Set to 0 to disable.
74+
# Default: 3
75+
max-same-issues: 0

0 commit comments

Comments
 (0)