This repository was archived by the owner on Jan 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +107
-26
lines changed
Expand file tree Collapse file tree 5 files changed +107
-26
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://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+ version : 2
7+ updates :
8+ - package-ecosystem : ' npm' # See documentation for possible values
9+ directory : ' /' # Location of package manifests
10+ schedule :
11+ interval : ' weekly'
12+ ignore :
13+ - dependency-name : ' *'
14+ update-types : ['version-update:semver-patch']
Original file line number Diff line number Diff line change 1+ name-template : ' v$RESOLVED_VERSION 🌈'
2+ tag-template : ' v$RESOLVED_VERSION'
3+ categories :
4+ - title : ' 🚀 Features'
5+ label : ' feature'
6+ - title : ' 🐛 Bug Fixes'
7+ label : ' bug'
8+ - title : ' ♻️ Refactor'
9+ label : ' refactor'
10+ - title : ' 📝 Documentation'
11+ label : ' documentation'
12+ - title : ' 🧰 Maintenance'
13+ labels :
14+ - ' chore'
15+ - ' dependencies'
16+ change-template : ' - $TITLE @$AUTHOR (#$NUMBER)'
17+ change-title-escapes : ' \<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
18+ version-resolver :
19+ major :
20+ labels :
21+ - ' major'
22+ minor :
23+ labels :
24+ - ' minor'
25+ patch :
26+ labels :
27+ - ' patch'
28+ default : patch
29+ template : |
30+ ## Changes
31+
32+ $CHANGES
33+ autolabeler :
34+ - label : feature
35+ branch :
36+ - ' /^feat(ure)?[/-].+/'
37+ - label : bug
38+ branch :
39+ - ' /^fix[/-].+/'
40+ - label : refactor
41+ branch :
42+ - ' /(refactor|refactoring)[/-].+/'
43+ - label : documentation
44+ branch :
45+ - ' /doc(s|umentation)[/-].+/'
46+ - label : chore
47+ branch :
48+ - ' /^chore[/-].+/'
Original file line number Diff line number Diff line change 1+ # https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/automating-dependabot-with-github-actions
2+ name : Dependabot auto-merge
3+ on : pull_request
4+
5+ permissions :
6+ pull-requests : write
7+ contents : write
8+
9+ jobs :
10+ dependabot :
11+ runs-on : ubuntu-latest
12+ if : ${{ github.actor == 'dependabot[bot]' }}
13+ steps :
14+ - name : Dependabot metadata
15+ id : metadata
16+ uses : dependabot/fetch-metadata@v1.1.1
17+ with :
18+ github-token : ' ${{ secrets.GITHUB_TOKEN }}'
19+ - name : Enable auto-merge for Dependabot PRs
20+ if : ${{steps.metadata.outputs.update-type == 'version-update:semver-minor'}}
21+ run : gh pr merge --auto --merge "$PR_URL"
22+ env :
23+ PR_URL : ${{github.event.pull_request.html_url}}
24+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change 1+ name : Release Drafter
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ # pull_request event is required only for autolabeler
8+ pull_request :
9+ # Only following types are handled by the action, but one can default to all as well
10+ types : [opened, reopened, synchronize]
11+ # pull_request_target event is required for autolabeler to support PRs from forks
12+ # pull_request_target:
13+ # types: [opened, reopened, synchronize]
14+
15+ jobs :
16+ update_release_draft :
17+ runs-on : ubuntu-latest
18+ steps :
19+ - uses : release-drafter/release-drafter@v5
20+ env :
21+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments