File tree Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ # To get started with Dependabot version updates, you'll need to specify which
2+ # package ecosystems to update and where the package manifests are located.
3+ # Please see the documentation for all configuration options:
4+ # https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+ version : 2
7+ updates :
8+ - package-ecosystem : cargo
9+ directory : " /"
10+ schedule :
11+ interval : daily
12+ time : " 08:00"
13+ timezone : UTC
14+ open-pull-requests-limit : 6
15+ - package-ecosystem : npm
16+ directories :
17+ - " /"
18+ - " /clients/js"
19+ schedule :
20+ interval : daily
21+ time : " 09:00"
22+ timezone : UTC
23+ open-pull-requests-limit : 6
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.event.pull_request.user.login == 'dependabot[bot]' && github.repository_owner == 'solana-program'
12+ steps :
13+ - name : Enable auto-merge
14+ run : gh pr merge --auto --squash "$PR_URL"
15+ env :
16+ PR_URL : ${{ github.event.pull_request.html_url }}
17+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
18+ - name : Approve
19+ run : gh pr review --approve "$PR_URL"
20+ env :
21+ PR_URL : ${{ github.event.pull_request.html_url }}
22+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments