File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Dependabot auto-merge
2+ on :
3+ pull_request :
4+ branches :
5+ - master
6+
7+ permissions :
8+ contents : write
9+ pull-requests : write
10+
11+ jobs :
12+ dependabot :
13+ runs-on : ubuntu-latest
14+ if : github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'OpenFeign/feign'
15+ steps :
16+ - name : Dependabot metadata
17+ id : metadata
18+ uses :
dependabot/[email protected] 19+ with :
20+ github-token : " ${{ secrets.GITHUB_TOKEN }}"
21+
22+ - name : Auto-approve Dependabot PRs
23+ uses : hmarr/auto-approve-action@v3
24+ with :
25+ github-token : ${{ secrets.GITHUB_TOKEN }}
26+
27+ - name : Enable auto-merge for Dependabot PRs
28+ run : gh pr merge --auto --merge "$PR_URL"
29+ env :
30+ PR_URL : ${{github.event.pull_request.html_url}}
31+ GH_TOKEN : ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments