|
| 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