File tree Expand file tree Collapse file tree 1 file changed +20
-3
lines changed
Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change 66 test :
77 strategy :
88 matrix :
9- go-version : ['1.23', '1.24' ]
9+ go-version : [stable, oldstable ]
1010 os : [ubuntu-latest, macos-latest, windows-latest]
1111 runs-on : ${{ matrix.os }}
12- env :
13- GO111MODULE : " on"
1412 steps :
1513 - name : Install Go
1614 uses : actions/setup-go@v5
2826
2927 - name : Test
3028 run : go test ./...
29+
30+ dependabot :
31+ needs : [test]
32+ runs-on : ubuntu-latest
33+ permissions :
34+ pull-requests : write
35+ contents : write
36+ if : ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'}}
37+ steps :
38+ - id : metadata
39+ uses : dependabot/fetch-metadata@v2
40+ with :
41+ github-token : " ${{ secrets.GITHUB_TOKEN }}"
42+ - run : |
43+ gh pr review --approve "$PR_URL"
44+ gh pr merge --squash --auto "$PR_URL"
45+ env:
46+ PR_URL: ${{github.event.pull_request.html_url}}
47+ GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments