File tree Expand file tree Collapse file tree 3 files changed +30
-2
lines changed Expand file tree Collapse file tree 3 files changed +30
-2
lines changed Original file line number Diff line number Diff line change 13
13
strategy :
14
14
fail-fast : false
15
15
matrix :
16
- java_version : [11]
16
+ java_version : [11, 17, 21 ]
17
17
os : [ubuntu-latest]
18
18
19
19
steps :
Original file line number Diff line number Diff line change
1
+ name : Dependabot auto-merge
2
+ on : pull_request
3
+
4
+ permissions :
5
+ contents : write
6
+ pull-requests : write
7
+
8
+ jobs :
9
+ dependabot :
10
+ runs-on : ubuntu-latest
11
+ if : ${{ github.actor == 'dependabot[bot]' }}
12
+ steps :
13
+ - name : Dependabot metadata
14
+ id : metadata
15
+ uses : dependabot/fetch-metadata@v2
16
+ with :
17
+ github-token : " ${{ secrets.GITHUB_TOKEN }}"
18
+ - name : Approve a PR
19
+ run : gh pr review --approve "$PR_URL"
20
+ env :
21
+ PR_URL : ${{github.event.pull_request.html_url}}
22
+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
23
+ # Enable for automerge
24
+ - name : Enable auto-merge for Dependabot PRs
25
+ run : gh pr merge --auto --squash "$PR_URL"
26
+ env :
27
+ PR_URL : ${{github.event.pull_request.html_url}}
28
+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change 22
22
23
23
<properties >
24
24
<nexus .staging.autoReleaseAfterClose>true</nexus .staging.autoReleaseAfterClose>
25
+ <project .build.outputTimestamp>2025-02-26T05:43:52Z</project .build.outputTimestamp>
25
26
</properties >
26
27
27
28
<modules >
32
33
</modules >
33
34
34
35
</project >
35
-
You can’t perform that action at this time.
0 commit comments