Skip to content

Commit ad81a30

Browse files
authored
chore: add configuration for Semantic Pull Requests app (#4652)
* chore: add configuration for Semantic Pull Requests app * update lists * remove tests scope
1 parent 70c91c8 commit ad81a30

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed

.github/semantic.yaml

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
###############################################################################
2+
# This file configures "Semantic Pull Requests", which is documented here:
3+
# https://github.com/zeke/semantic-pull-requests
4+
###############################################################################
5+
6+
# Scopes are optionally supplied after a 'type'. For example, in
7+
#
8+
# feat(docs): autostart ui
9+
#
10+
# '(docs)' is the scope. Scopes are used to signify where the change occurred.
11+
scopes:
12+
# docs: changes to the code-server documentation.
13+
- docs
14+
15+
# vendor: changes to vendored dependencies.
16+
- vendor
17+
18+
# deps: changes to code-server's dependencies.
19+
- deps
20+
21+
# cs: changes to code specific to code-server.
22+
- cs
23+
24+
# cli: changes to the command-line interface.
25+
- cli
26+
27+
# We only check that the PR title is semantic. The PR title is automatically
28+
# applied to the "Squash & Merge" flow as the suggested commit message, so this
29+
# should suffice unless someone drastically alters the message in that flow.
30+
titleOnly: true
31+
32+
# Types are the 'tag' types in a commit or PR title. For example, in
33+
#
34+
# chore: fix thing
35+
#
36+
# 'chore' is the type.
37+
types:
38+
# A build of any kind.
39+
- build
40+
41+
# A user-facing change that corrects a defect in code-server.
42+
- fix
43+
44+
# Any code task that is ignored for changelog purposes. Examples include
45+
# devbin scripts and internal-only configurations.
46+
- chore
47+
48+
# Any work performed on CI.
49+
- ci
50+
51+
# Work that directly implements or supports the implementation of a feature.
52+
- feat
53+
54+
# A refactor changes code structure without any behavioral change.
55+
- refactor
56+
57+
# A git revert for any style of commit.
58+
- revert
59+
60+
# Adding tests of any kind. Should be separate from feature or fix
61+
# implementations. For example, if a commit adds a fix + test, it's a fix
62+
# commit. If a commit is simply bumping coverage, it's a test commit.
63+
- test

0 commit comments

Comments
 (0)