Skip to content

Commit fd049a8

Browse files
authored
Merge: Github workflows for labels verification and releases notes
Github workflows for labels verification and releases notes
2 parents b4f4bb9 + 07f0e09 commit fd049a8

File tree

5 files changed

+180
-0
lines changed

5 files changed

+180
-0
lines changed

.github/labels.yml

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
- name: "topic: CI/CD"
2+
color: "54f449"
3+
description: "This issue/PR relates to CI/CD pipeline change"
4+
- name: "topic: code style"
5+
color: "54f449"
6+
description: "This issue/PR relates to code style."
7+
from_name: "code quality"
8+
- name: "topic: tests"
9+
color: "54f449"
10+
description: "This issue/PR relates to tests, QA, CI."
11+
- name: "topic: deprecated"
12+
color: "999999"
13+
description: "Feature or component marked as deprecated and will be removed"
14+
- name: "topic: documentation"
15+
color: "54f449"
16+
description: "This issue/PR relates to or includes documentation."
17+
from_name: "Documentation"
18+
- name: "topic: recognizer"
19+
color: "54f449"
20+
description: "This issue/PR relates to recognizers module."
21+
- name: "topic: storage"
22+
color: "54f449"
23+
description: "This issue/PR relates to storage module."
24+
- name: "topic: stock_uploader"
25+
color: "54f449"
26+
description: "This issue/PR relates to stock uploader module."
27+
- name: "type: breaking-change"
28+
color: "310372"
29+
description: "Marks an important and likely breaking old interface change."
30+
- name: "type: feature"
31+
color: "310372"
32+
description: "New feature implementation"
33+
- name: "type: enhancement"
34+
color: "310372"
35+
description: "Enhancement update for old feature"
36+
from_name: "enhancement"
37+
- name: "type: good first issue"
38+
color: "310372"
39+
description: "Good for newcomers"
40+
from_name: "Good first contrib"
41+
- name: "type: bug"
42+
color: "b71914"
43+
description: "Something isn't working"
44+
from_name: "bug"
45+
- name: "log:added"
46+
color: "ff935e"
47+
description: "Changelog mark label. Marks new added features."
48+
- name: "log:breaking-change"
49+
color: "ff935e"
50+
description: "Changelog mark label. Marks breaking changes."
51+
- name: "log:changed"
52+
color: "ff935e"
53+
description: "Changelog mark label. Marks old, but changed features."
54+
- name: "log:deprecated"
55+
color: "ff935e"
56+
description: "Changelog mark label. Marks deprecated features, that will be removed in next major release."
57+
- name: "log:fixed"
58+
color: "ff935e"
59+
description: "Changelog mark label. Marks fixed bug issues."
60+
- name: "log:removed"
61+
color: "ff935e"
62+
description: "Changelog mark label. Marks removed features."
63+
- name: "log:skip-changelog"
64+
color: "ff935e"
65+
description: "Should be excluded from the changelog."
66+
- name: "os: linux"
67+
color: "fbca04"
68+
description: "This issue/PR related to linux systems"
69+
- name: "os: mac"
70+
color: "fbca04"
71+
description: "This issue/PR related to mac systems"
72+
- name: "os: windows"
73+
color: "fbca04"
74+
description: "This issue/PR related to windows systems"
75+
- name: "question"
76+
color: "d876e3"
77+
description: "User questions, not related to issues"
78+
from_name: "question"
79+
- name: "decision: duplicate"
80+
color: "eeeeee"
81+
description: "This issue or pull request already exists"
82+
from_name: "duplicate"
83+
- name: "decision: wontfix"
84+
color: "eeeeee"
85+
description: "This will not be worked on"
86+
from_name: "wontfix"
87+
- name: "decision: wontmerge"
88+
color: "eeeeee"
89+
description: "PR Only: This pull request will not be merged (problem described in comments)"
90+
- name: "stage: waiting-for-contributor"
91+
color: "efc1ae"
92+
from_name: "awaiting response"
93+
description: "Waiting for answer from original contributor."
94+
- name: "stage: WIP"
95+
color: "efc1ae"
96+
description: "Work In Progress"
97+
- name: "stage: help wanted"
98+
color: "efc1ae"
99+
description: "Extra attention is needed"
100+
from_name: "Help wanted"

.github/release-drafter.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
categories:
2+
- title: 'Breaking Changes'
3+
labels:
4+
- 'log:breaking-change'
5+
- title: 'Added'
6+
labels:
7+
- 'log:added'
8+
- title: 'Changed'
9+
labels:
10+
- 'log:changed'
11+
- title: 'Fixed'
12+
labels:
13+
- 'log:fixed'
14+
- title: 'Deprecated'
15+
labels:
16+
- 'log:deprecated'
17+
- title: 'Removed'
18+
labels:
19+
- 'log:removed'
20+
exclude-labels:
21+
- 'log:skip-changelog'
22+
sort-by: 'title'
23+
template: |
24+
## Changes
25+
26+
$CHANGES
27+
28+
## This release is made by wonderful contributors:
29+
30+
$CONTRIBUTORS

.github/workflows/labeler-check.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Labels verification
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
labeler:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v2
12+
- name: Run Labeler
13+
uses: crazy-max/ghaction-github-labeler@v2
14+
with:
15+
yaml_file: .github/labels.yml
16+
dry_run: true
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/labeler.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Labels verification
2+
3+
on:
4+
push:
5+
branches: [master]
6+
7+
jobs:
8+
labeler:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v2
13+
- name: Run Labeler
14+
uses: crazy-max/ghaction-github-labeler@v2
15+
with:
16+
yaml_file: .github/labels.yml
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release-drafter.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
update_release_draft:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: release-drafter/release-drafter@v5
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)