Skip to content

Commit 6619ffc

Browse files
committed
chore(#3): initial github setup with release drafter and dependabot
1 parent a5a7694 commit 6619ffc

File tree

5 files changed

+100
-0
lines changed

5 files changed

+100
-0
lines changed

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = crlf
6+
indent_size = 2
7+
indent_style = space
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
tab_width = 4

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
labels:
8+
- "dependencies"
9+
- package-ecosystem: "docker"
10+
directory: "/"
11+
schedule:
12+
interval: "daily"
13+
labels:
14+
- "dependencies"

.github/release-drafter.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name-template: "v$RESOLVED_VERSION"
2+
tag-template: "v$RESOLVED_VERSION"
3+
change-template: "- $TITLE by @$AUTHOR (#$NUMBER)"
4+
no-changes-template: "- No changes"
5+
categories:
6+
- title: "📚 Documentation"
7+
labels:
8+
- "documentation"
9+
- title: "🚀 New Features"
10+
labels:
11+
- "enhancement"
12+
- title: "🐛 Bug Fixes"
13+
labels:
14+
- "bug"
15+
- title: "🧰 Maintenance"
16+
labels:
17+
- "maintenance"
18+
- title: "☸️ Deployment Resources"
19+
labels:
20+
- "deployment-resources"
21+
version-resolver:
22+
major:
23+
labels:
24+
- "major"
25+
minor:
26+
labels:
27+
- "minor"
28+
patch:
29+
labels:
30+
- "patch"
31+
default: patch
32+
template: |
33+
$CHANGES
34+
35+
## 👨🏼‍💻 Contributors
36+
37+
$CONTRIBUTORS
38+
autolabeler:
39+
- label: "documentation"
40+
files:
41+
- "docs/**/*"
42+
- "**/*.md"
43+
- label: "maintenance"
44+
files:
45+
- ".github/**/*"
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request_target:
8+
types:
9+
- edited
10+
- opened
11+
- reopened
12+
- synchronize
13+
workflow_dispatch:
14+
15+
concurrency:
16+
group: ${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.number) || github.ref }}
17+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' && github.ref_type != 'tag' }}
18+
19+
jobs:
20+
update_release_draft:
21+
permissions:
22+
contents: write
23+
pull-requests: write
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: "Draft Release"
27+
uses: release-drafter/[email protected]
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# JetBrains IDEs
2+
.idea/

0 commit comments

Comments
 (0)