From cc0fb6249e74b77383aca2bef215bf11499f517e Mon Sep 17 00:00:00 2001 From: Kyle Carberry Date: Thu, 31 Mar 2022 14:54:21 +0000 Subject: [PATCH] ci: Limit scopes with semantic This should enfore a standardized commit message without a scope. The repository isn't complex enough to require scopes yet, so we can punt this down the road! --- .github/semantic.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/semantic.yaml b/.github/semantic.yaml index 73a55f27ab449..eedee97431bfc 100644 --- a/.github/semantic.yaml +++ b/.github/semantic.yaml @@ -7,6 +7,10 @@ # https://www.notion.so/coderhq/Conventional-commits-1d51287f58b64026bb29393f277734ed ############################################################################### +# We have no valid scopes right now. +# A scope should be added when commits aren't aligning with associated change anymore. +scopes: + # We only check that the PR title is semantic. The PR title is automatically # applied to the "Squash & Merge" flow as the suggested commit message, so this # should suffice unless someone drastically alters the message in that flow.