File tree Expand file tree Collapse file tree 8 files changed +995
-6307
lines changed
Expand file tree Collapse file tree 8 files changed +995
-6307
lines changed Original file line number Diff line number Diff line change 1+ # https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/optimizing-pr-creation-version-updates#setting-up-a-cooldown-period-for-dependency-updates
2+
3+ version : 2
4+ updates :
5+ - package-ecosystem : cargo
6+ directories :
7+ - tests
8+ - tests/wasm-workspace
9+ schedule :
10+ interval : weekly
11+ # https://docs.github.com/en/code-security/dependabot/working-with-dependabot/dependabot-options-reference#groups--
12+ # 1 PR per week and group
13+ groups :
14+ major :
15+ update-types : ["major"]
16+ minor :
17+ update-types : ["minor"]
18+ patch :
19+ update-types : ["patch"]
20+ - package-ecosystem : github-actions
21+ directory : /
22+ schedule :
23+ interval : weekly
24+ groups :
25+ actions :
26+ # Combine all images of the last week
27+ patterns : ["*"]
28+ - package-ecosystem : npm
29+ directory : /
30+ schedule :
31+ interval : weekly
32+ prd-major :
33+ dependency-type : " production"
34+ update-types : ["major"]
35+ prd-minor :
36+ dependency-type : " production"
37+ update-types : ["minor"]
38+ prd-patch :
39+ dependency-type : " production"
40+ update-types : ["patch"]
41+ dev-major :
42+ dependency-type : " development"
43+ update-types : ["major"]
44+ dev-minor :
45+ dependency-type : " development"
46+ update-types : ["minor"]
47+ dev-patch :
48+ dependency-type : " development"
49+ update-types : ["patch"]
Original file line number Diff line number Diff line change 1+ # https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#enabling-automerge-on-a-pull-request
2+
3+ name : Dependabot Automation
4+ on : pull_request
5+
6+ permissions :
7+ contents : write
8+ pull-requests : write
9+
10+ jobs :
11+ automerge :
12+ runs-on : ubuntu-latest
13+ if : github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'Swatinem/rust-cache'
14+ steps :
15+ - name : Fetch metadata
16+ id : metadata
17+ uses : dependabot/fetch-metadata@v2
18+ with :
19+ github-token : " ${{ secrets.GITHUB_TOKEN }}"
20+ - name : Auto-merge Patch PRs
21+ if : steps.metadata.outputs.update-type == 'version-update:semver-patch'
22+ run : gh pr merge --auto --merge "$PR_URL"
23+ env :
24+ PR_URL : ${{github.event.pull_request.html_url}}
25+ GH_TOKEN : ${{secrets.GITHUB_TOKEN}}
Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments