Skip to content

Commit eb8781f

Browse files
🔨 Add github workflows (#1)
1 parent d6e1f6d commit eb8781f

File tree

5 files changed

+193
-0
lines changed

5 files changed

+193
-0
lines changed

.github/dependabot.yml

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

.github/labels.yml

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
---
2+
- name: "breaking-change"
3+
color: ee0701
4+
description: "A breaking change for existing users."
5+
- name: "bugfix"
6+
color: ee0701
7+
description:
8+
"Inconsistencies or issues which will cause a problem for users or
9+
implementors."
10+
- name: "documentation"
11+
color: 0052cc
12+
description: "Solely about the documentation of the project."
13+
- name: "enhancement"
14+
color: 1d76db
15+
description: "Enhancement of the code, not introducing new features."
16+
- name: "refactor"
17+
color: 1d76db
18+
description: "Improvement of existing code, not introducing new features."
19+
- name: "performance"
20+
color: 1d76db
21+
description: "Improving performance, not introducing new features."
22+
- name: "new-feature"
23+
color: 0e8a16
24+
description: "New features or options."
25+
- name: "maintenance"
26+
color: 2af79e
27+
description: "Generic maintenance tasks."
28+
- name: "ci"
29+
color: 1d76db
30+
description: "Work that improves the continue integration."
31+
32+
- name: "in-progress"
33+
color: fbca04
34+
description: "Issue is currently being resolved by a developer."
35+
- name: "stale"
36+
color: fef2c0
37+
description:
38+
"There has not been activity on this issue or PR for quite some time."
39+
- name: "no-stale"
40+
color: fef2c0
41+
description: "This issue or PR is exempted from the stable bot."
42+
43+
- name: "security"
44+
color: ee0701
45+
description: "Marks a security issue that needs to be resolved asap."
46+
- name: "incomplete"
47+
color: fef2c0
48+
description: "Marks a PR or issue that is missing information."
49+
- name: "invalid"
50+
color: fef2c0
51+
description: "Marks a PR or issue that is missing information."
52+
53+
- name: "beginner-friendly"
54+
color: 0e8a16
55+
description:
56+
"Good first issue for people wanting to contribute to the project."
57+
- name: "help-wanted"
58+
color: 0e8a16
59+
description:
60+
"We need some extra helping hands or expertise in order to resolve this."
61+
62+
- name: "hacktoberfest"
63+
description: "Issues/PRs are participating in the Hacktoberfest."
64+
color: fbca04
65+
- name: "hacktoberfest-accepted"
66+
description: "Issues/PRs are participating in the Hacktoberfest."
67+
color: fbca04
68+
69+
- name: "priority-critical"
70+
color: ee0701
71+
description:
72+
"This should be dealt with ASAP. Not fixing this issue would be a serious
73+
error."
74+
- name: "priority-high"
75+
color: b60205
76+
description:
77+
"After critical issues are fixed, these should be dealt with before any
78+
further issues."
79+
- name: "priority-medium"
80+
color: 0e8a16
81+
description: "This issue may be useful, and needs some attention."
82+
- name: "priority-low"
83+
color: e4ea8a
84+
description: "Nice addition, maybe... someday..."

.github/release-drafter.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
name-template: "v$RESOLVED_VERSION"
3+
tag-template: "v$RESOLVED_VERSION"
4+
change-template: "- #$NUMBER $TITLE @$AUTHOR"
5+
sort-direction: ascending
6+
7+
categories:
8+
- title: "🚨 Breaking changes"
9+
labels:
10+
- "breaking-change"
11+
- title: "✨ New features"
12+
labels:
13+
- "new-feature"
14+
- title: "🐛 Bug fixes"
15+
labels:
16+
- "bugfix"
17+
- title: "🚀 Enhancements"
18+
labels:
19+
- "enhancement"
20+
- "refactor"
21+
- "performance"
22+
- title: "🧰 Maintenance"
23+
labels:
24+
- "maintenance"
25+
- "ci"
26+
- title: "📚 Documentation"
27+
labels:
28+
- "documentation"
29+
- title: "⬆️ Dependency updates"
30+
labels:
31+
- "dependencies"
32+
33+
version-resolver:
34+
major:
35+
labels:
36+
- "major"
37+
- "breaking-change"
38+
minor:
39+
labels:
40+
- "minor"
41+
- "new-feature"
42+
patch:
43+
labels:
44+
- "bugfix"
45+
- "chore"
46+
- "ci"
47+
- "dependencies"
48+
- "documentation"
49+
- "enhancement"
50+
- "performance"
51+
- "refactor"
52+
default: patch
53+
54+
template: |
55+
## What’s changed
56+
57+
$CHANGES

.github/workflows/labels.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Sync labels
3+
4+
on:
5+
push:
6+
branches:
7+
- master
8+
paths:
9+
- .github/labels.yml
10+
workflow_dispatch:
11+
12+
jobs:
13+
labels:
14+
name: ♻️ Sync labels
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: ⤵️ Check out code from GitHub
18+
uses: actions/checkout@v2.3.4
19+
- name: 🚀 Run Label Syncer
20+
uses: micnncim/action-label-syncer@v1.2.0
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Release Drafter
3+
4+
on:
5+
push:
6+
branches:
7+
- master
8+
9+
jobs:
10+
update_release_draft:
11+
name: ✏️ Draft release
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: 🚀 Run Release Drafter
15+
uses: release-drafter/release-drafter@v5.15.0
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)