File tree Expand file tree Collapse file tree 3 files changed +58
-1
lines changed
Expand file tree Collapse file tree 3 files changed +58
-1
lines changed Original file line number Diff line number Diff line change @@ -200,6 +200,15 @@ updates:
200200 commit-message :
201201 prefix : " chore"
202202 include : " scope"
203+ - package-ecosystem : " gomod"
204+ directory : " /vt"
205+ schedule :
206+ interval : " daily"
207+ labels :
208+ - " dependencies"
209+ commit-message :
210+ prefix : " chore"
211+ include : " scope"
203212 - package-ecosystem : " gomod"
204213 directory : " /wcwidth"
205214 schedule :
Original file line number Diff line number Diff line change 1+ # auto-generated by scripts/builds. DO NOT EDIT.
2+ name : vt
3+
4+ on :
5+ push :
6+ branches :
7+ - main
8+ pull_request :
9+ paths :
10+ - vt/**
11+ - .github/workflows/vt.yml
12+
13+ jobs :
14+ build :
15+ strategy :
16+ matrix :
17+ os : [ubuntu-latest, macos-latest, windows-latest]
18+ runs-on : ${{ matrix.os }}
19+ defaults :
20+ run :
21+ working-directory : ./vt
22+ steps :
23+ - uses : actions/checkout@v4
24+ - uses : actions/setup-go@v5
25+ with :
26+ go-version-file : ./vt/go.mod
27+ cache : true
28+ cache-dependency-path : ./vt/go.sum
29+ - run : go build -v ./...
30+ - run : go test -race -v ./...
31+ dependabot :
32+ needs : [build]
33+ runs-on : ubuntu-latest
34+ permissions :
35+ pull-requests : write
36+ contents : write
37+ if : ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'}}
38+ steps :
39+ - id : metadata
40+ uses : dependabot/fetch-metadata@v2
41+ with :
42+ github-token : " ${{ secrets.GITHUB_TOKEN }}"
43+ - run : |
44+ gh pr review --approve "$PR_URL"
45+ gh pr merge --squash --auto "$PR_URL"
46+ env:
47+ PR_URL: ${{github.event.pull_request.html_url}}
48+ GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ linters:
2020 - goconst
2121 - godot
2222 - godox
23- - gomnd
23+ - mnd
2424 - gomoddirectives
2525 - goprintffuncname
2626 # - ifshort
You can’t perform that action at this time.
0 commit comments