Skip to content

Commit 2a67bf2

Browse files
authored
Merge pull request #3 from webofmars/ci/add-base-ci
ci/add base ci
2 parents e32b409 + 7ce8e1a commit 2a67bf2

File tree

3 files changed

+90
-0
lines changed

3 files changed

+90
-0
lines changed

.github/dependabot.template.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
open-pull-requests-limit: 20
6+
schedule:
7+
interval: "weekly"
8+
9+
- package-ecosystem: "github-actions"
10+
directory: ".github/actions/**/action.yml"
11+
open-pull-requests-limit: 20
12+
schedule:
13+
interval: "weekly"

.github/release-drafter.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
template: |
2+
# What's Changed
3+
$CHANGES
4+
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...$RESOLVED_VERSION
5+
name-template: "Version $RESOLVED_VERSION"
6+
tag-template: "$RESOLVED_VERSION"
7+
8+
categories:
9+
- title: '🚀 Features'
10+
labels:
11+
- 'feature'
12+
- 'feat'
13+
- title: '🐛 Bug Fixes'
14+
labels:
15+
- 'fix'
16+
- 'bugfix'
17+
- 'bug'
18+
- title: '🧰 Maintenance'
19+
label: 'chore'
20+
- title: '📚 Documentation'
21+
label: 'docs'
22+
- title: '🧪 Tests'
23+
label: 'test'
24+
- title: '🏷️ Version Tags'
25+
label: 'version'
26+
- title: '🔖 Release Tags'
27+
label: 'release'
28+
- title: '🧩 Dependencies'
29+
label: 'dependencies'
30+
- title: '🔒 Security'
31+
label: 'security'
32+
- title: '🚨 Breaking Changes'
33+
label: 'breaking'
34+
- title: '🧹 Code Cleanup'
35+
label: 'cleanup'
36+
- title: '🔧 Config'
37+
label: 'config'
38+
- title: '📦 Packages'
39+
label: 'package'
40+
- title: '🔥 Removals'
41+
label: 'removal'
42+
- title: '🚧 Work In Progress'
43+
label: 'wip'
44+
- title: '🔀 Merges'
45+
label: 'merge'
46+
- title: '🎨 Style'
47+
label: 'style'
48+
- title: '🔊 Logging'
49+
label: 'logging'
50+
- title: '🔇 Silence'
51+
label: 'silence'
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- master
8+
# pull_request event is required only for autolabeler
9+
pull_request:
10+
types: [opened, reopened, synchronize]
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
update_release_draft:
17+
permissions:
18+
contents: write
19+
pull-requests: write
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: release-drafter/release-drafter@v5
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
with:
26+
publish: true

0 commit comments

Comments
 (0)