File tree Expand file tree Collapse file tree 3 files changed +48
-17
lines changed
Expand file tree Collapse file tree 3 files changed +48
-17
lines changed Original file line number Diff line number Diff line change 1- version : 1
2- update_configs :
1+ version : 2
2+ updates :
33 - package_manager : " javascript"
44 directory : " /"
5- update_schedule : " live"
6- automerged_updates :
7- - match :
8- dependency_type : " all"
9- update_type : " security:patch"
5+ schedule :
6+ interval : " daily"
7+
108 - package_manager : " javascript"
119 directory : " /sandbox"
12- update_schedule : " live"
13- automerged_updates :
14- - match :
15- dependency_type : " all"
16- update_type : " security:patch"
10+ schedule :
11+ interval : " daily"
12+
1713 - package_manager : " python"
1814 directory : " /"
19- update_schedule : " live"
20- automerged_updates :
21- - match :
22- dependency_type : " all"
23- update_type : " security:patch"
15+ schedule :
16+ interval : " daily"
Original file line number Diff line number Diff line change 1+ name : Auto-merge Dependabot PRs
2+
3+ on :
4+ pull_request :
5+ types :
6+ - opened
7+ - reopened
8+ - synchronize
9+ - ready_for_review
10+ - labeled
11+
12+ jobs :
13+ enable-automerge :
14+ # Only run on Dependabot PRs
15+ if : github.actor == 'dependabot[bot]'
16+ runs-on : ubuntu-latest
17+ permissions :
18+ contents : write
19+ pull-requests : write
20+
21+ steps :
22+ - name : Fetch Dependabot metadata
23+ id : metadata
24+ uses : dependabot/fetch-metadata@ffa630c65fa7e0ecfa0625b5ceda64399aea1b36 # v3.0.0
25+ with :
26+ github-token : ${{ secrets.GITHUB_TOKEN }}
27+
28+ - name : Auto-approve Dependabot PR
29+ uses : hmarr/auto-approve-action@8f929096a962e83ccdfa8afcf855f39f12d4dac7 # v4
30+ with :
31+ github-token : ${{ secrets.GITHUB_TOKEN }}
32+
33+ - name : Enable auto-merge for Dependabot PRs
34+ run : gh pr merge --auto --squash "$PR_URL"
35+ env :
36+ PR_URL : ${{ github.event.pull_request.html_url }}
37+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11python 3.8.18
22nodejs 24.7.0
33poetry 1.8.5
4+ java temurin-21.0.10+7.0.LTS
You can’t perform that action at this time.
0 commit comments