summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2022-05-25 13:35:38 +0200
committerkylo252 <[email protected]>2022-05-25 13:35:38 +0200
commitfc63a66ce8d26ab7acf5e178b85d0f69b097ca7e (patch)
tree1dc5ddb0ec1cdd1d225ded33f157a890699fc348 /.github
parentaa4c9930d9131c60d7a6f2e9bec8a2f3ba6c4055 (diff)
parent6dbba1f9597e0ba090702aea41357c29874aab7c (diff)
Merge remote-tracking branch 'origin/rolling'
Diffstat (limited to '.github')
-rw-r--r--.github/ISSUE_TEMPLATE/general-issue-form.yaml30
-rw-r--r--.github/ISSUE_TEMPLATE/lsp-issue-form.yaml36
-rw-r--r--.github/pull_request_template.md24
-rw-r--r--.github/workflows/commitlint.config.js11
-rw-r--r--.github/workflows/plugins.yml2
5 files changed, 66 insertions, 37 deletions
diff --git a/.github/ISSUE_TEMPLATE/general-issue-form.yaml b/.github/ISSUE_TEMPLATE/general-issue-form.yaml
index fcf22684..be1dce81 100644
--- a/.github/ISSUE_TEMPLATE/general-issue-form.yaml
+++ b/.github/ISSUE_TEMPLATE/general-issue-form.yaml
@@ -23,7 +23,7 @@ body:
validations:
required: true
- type: input
- id: lunar-vim-version
+ id: version
attributes:
label: LunarVim version
placeholder: |
@@ -36,26 +36,36 @@ body:
label: Neovim version (>= 0.7)
description: "Output of `nvim --version`"
placeholder: |
- NVIM v0.7-dev+209-g0603eba6e
- Build type: Release
- LuaJIT 2.1.0-beta3
+ NVIM v0.8.0-dev+199-g2875d45e7
validations:
required: true
- type: input
+ id: system-version
attributes:
label: "Operating system/version"
placeholder: "macOS 11.5"
validations:
required: true
- type: textarea
- id: logs
+ id: steps
attributes:
- label: Relevant log output
+ label: "Steps to reproduce"
+ description: "Steps to reproduce using the minimal config."
placeholder: |
- :checkhealth
- :messages
- :e $LUNARVIM_CACHE/DIR/lvim.log
- render: shell
+ 1. `nvim -u ~/.local/share/lunarvim/lvim/tests/minimal_lsp.lua`
+ 2. ...
+ - type: textarea
+ id: support-info
+ attributes:
+ label: support info
+ description: Information from LspInfo and LvimInfo
+ placeholder: |
+ ```console
+ # :LspInfo
+ ```
+ ```console
+ # :LvimInfo
+ ```
validations:
required: true
- type: textarea
diff --git a/.github/ISSUE_TEMPLATE/lsp-issue-form.yaml b/.github/ISSUE_TEMPLATE/lsp-issue-form.yaml
index 6b326b26..e8079ffa 100644
--- a/.github/ISSUE_TEMPLATE/lsp-issue-form.yaml
+++ b/.github/ISSUE_TEMPLATE/lsp-issue-form.yaml
@@ -17,7 +17,7 @@ body:
validations:
required: true
- type: input
- id: lunar-vim-version
+ id: version
attributes:
label: LunarVim version
placeholder: |
@@ -30,18 +30,18 @@ body:
label: Neovim version (>= 0.7)
description: "Output of `nvim --version`"
placeholder: |
- NVIM v0.7-dev+209-g0603eba6e
- Build type: Release
- LuaJIT 2.1.0-beta3
+ NVIM v0.8.0-dev+199-g2875d45e7
validations:
required: true
- type: input
+ id: system-version
attributes:
label: "Operating system/version"
placeholder: "macOS 11.5"
validations:
required: true
- type: input
+ id: servers
attributes:
label: "Affected language servers"
description: "If this issue is specific to one or more language servers, list them here. If not, write 'all'."
@@ -49,6 +49,7 @@ body:
validations:
required: true
- type: textarea
+ id: steps
attributes:
label: "Steps to reproduce"
description: "Steps to reproduce using the minimal config."
@@ -56,31 +57,38 @@ body:
1. `nvim -u ~/.local/share/lunarvim/lvim/tests/minimal_lsp.lua`
2. ...
- type: textarea
+ id: behavior
attributes:
label: "Actual behavior"
description: "Observed behavior."
validations:
required: true
- type: textarea
+ id: expected-behavior
attributes:
label: "Expected behavior"
description: "A description of the behavior you expected."
- type: textarea
- id: logs
+ id: support-info
attributes:
- label: log and support info
+ label: support info
+ description: Information from LspInfo and LvimInfo
placeholder: |
- :LspInfo
- :LvimInfo
- :messages
- :checkhealth
- :e $LUNARVIM_CACHE/DIR/lsp.log
- :e $LUNARVIM_CACHE/DIR/lvim.log
- :e $LUNARVIM_CACHE/DIR/log
- render: shell
+ ```console
+ # :LspInfo
+ ```
+ ```console
+ # :LvimInfo
+ ```
validations:
required: true
- type: textarea
+ id: lsp-logs
+ attributes:
+ label: logs
+ description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
+ render: console
+ - type: textarea
id: screenshots
attributes:
label: Screenshots
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
index 7b3a25f3..48782e51 100644
--- a/.github/pull_request_template.md
+++ b/.github/pull_request_template.md
@@ -1,12 +1,12 @@
<!-- This won't be rendered!
[CHECKLIST]
I prefixed the title with one of the following tags:
- - [Feature]: For feature addition / improvements
- - [Bugfix]: When fixing a functionality
- - [Refactor]: When moving code without adding any functionality
- - [Doc]: On documentation updates
+ - feature: for feature addition / improvements
+ - fix: when fixing a functionality
+ - refactor: when moving code without adding any functionality
+ - doc: on documentation updates
-- I read the contributing guide (CONTRIBUTING.md)
+- I read the contributing guide [CONTRIBUTING.md](../CONTRIBUTING.md)
- My code follows the style guidelines of this project
- I have performed a self-review of my code
- I have commented on my code, particularly in hard-to-understand areas
@@ -15,17 +15,17 @@ I prefixed the title with one of the following tags:
-->
# Description
-Please include a summary of the change and which issue is fixed. \
-List any dependencies that are required for this change.
+summary of the change
-Fixes #(issue)
+<!--- Please list any dependencies that are required for this change. --->
-## How Has This Been Tested?
+fixes #(issue)
-Please describe the tests that you ran to verify your changes. \
-Provide instructions so we can reproduce. \
-Please also list any relevant details for your test configuration.
+## How Has This Been Tested?
+<!--- Please describe the tests that you ran to verify your changes. --->
+<!--- Also list any relevant details for your test configuration. --->
+<!--- Provide instructions so we can reproduce -->
- Run command `:mycommand`
- Check logs
- ...
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