File tree Expand file tree Collapse file tree 3 files changed +36
-5
lines changed
Expand file tree Collapse file tree 3 files changed +36
-5
lines changed Original file line number Diff line number Diff line change 1+ name : Merge updates to dependencies
2+ on :
3+ pull_request :
4+ jobs :
5+ dependabot :
6+ name : " @dependabot"
7+ if : github.event.pull_request.user.login == 'dependabot[bot]'
8+ runs-on : ubuntu-latest
9+ permissions :
10+ contents : write
11+ pull-requests : write
12+ steps :
13+ - name : Collect metadata
14+ id : metadata
15+ uses : dependabot/fetch-metadata@08eff52bf64351f401fb50d4972fa95b9f2c2d1b # v2.4.0
16+ with :
17+ github-token : " ${{ secrets.GITHUB_TOKEN }}"
18+ - name : Approve
19+ if : steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor'
20+ run : gh pr review --approve "$PR_URL"
21+ env :
22+ PR_URL : ${{github.event.pull_request.html_url}}
23+ GH_TOKEN : ${{secrets.GITHUB_TOKEN}}
24+ - name : Automerge
25+ if : steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor'
26+ run : gh pr merge --auto --squash "$PR_URL"
27+ env :
28+ PR_URL : ${{ github.event.pull_request.html_url }}
29+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11name : Test
22on :
33 push :
4+ branches :
5+ - main
46 pull_request :
57jobs :
68 test :
Original file line number Diff line number Diff line change 1414 <plugin >
1515 <groupId >org.apache.maven.plugins</groupId >
1616 <artifactId >maven-compiler-plugin</artifactId >
17- <version >3.11.0 </version >
17+ <version >3.14.1 </version >
1818 <configuration >
1919 <release >17</release >
2020 </configuration >
2121 </plugin >
2222 <plugin >
2323 <groupId >com.diffplug.spotless</groupId >
2424 <artifactId >spotless-maven-plugin</artifactId >
25- <version >2.44.5 </version >
25+ <version >3.0.0 </version >
2626 <configuration >
2727 <formats >
2828 <format >
6363 <dependency >
6464 <groupId >com.slack.api</groupId >
6565 <artifactId >slack-api-model</artifactId >
66- <version >1.45.4 </version >
66+ <version >1.46.0 </version >
6767 </dependency >
6868 <dependency >
6969 <groupId >com.slack.api</groupId >
7070 <artifactId >slack-api-client</artifactId >
71- <version >1.45.4 </version >
71+ <version >1.46.0 </version >
7272 <scope >test</scope >
7373 </dependency >
7474 <dependency >
7575 <groupId >com.google.code.gson</groupId >
7676 <artifactId >gson</artifactId >
77- <version >2.10.1 </version >
77+ <version >2.13.2 </version >
7878 <scope >test</scope >
7979 </dependency >
8080 <dependency >
You can’t perform that action at this time.
0 commit comments