diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/commitlint.config.js | 11 | ||||
-rw-r--r-- | .github/workflows/plugins.yml | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/.github/workflows/commitlint.config.js b/.github/workflows/commitlint.config.js index 06cc7866..53ec4b76 100644 --- a/.github/workflows/commitlint.config.js +++ b/.github/workflows/commitlint.config.js @@ -32,4 +32,15 @@ module.exports = { ], ], }, + /* + add a custom parser to handle exclamation marks in a commit + see: https://github.com/conventional-changelog/commitlint/issues/2226#issuecomment-911749509 + */ + parserPreset: { + parserOpts: { + headerPattern: /^(\w*)(?:\((.*)\))?!?: (.*)$/, + referenceActions: null, + issuePrefixes: ['ISS-'], + }, + }, }; diff --git a/.github/workflows/plugins.yml b/.github/workflows/plugins.yml index d84c6b36..3df32105 100644 --- a/.github/workflows/plugins.yml +++ b/.github/workflows/plugins.yml @@ -33,7 +33,7 @@ jobs: uses: rhysd/action-setup-vim@v1 with: neovim: true - version: v0.7 + version: v0.7.0 - name: Install LunarVim timeout-minutes: 4 |