diff options
| author | William Boman <william@redwill.se> | 2022-07-06 19:41:43 +0200 |
|---|---|---|
| committer | William Boman <william@redwill.se> | 2022-07-07 00:39:59 +0200 |
| commit | 5f634e0c37e723fc0c33e06b4fd5c2180178db40 (patch) | |
| tree | fa4f09363adefa8259e23e4d1ea036db628b1243 /.github | |
| parent | feat(health): use stderr for java version, also check for JAVA_HOME (#765) (diff) | |
| download | mason-5f634e0c37e723fc0c33e06b4fd5c2180178db40.tar mason-5f634e0c37e723fc0c33e06b4fd5c2180178db40.tar.gz mason-5f634e0c37e723fc0c33e06b4fd5c2180178db40.tar.bz2 mason-5f634e0c37e723fc0c33e06b4fd5c2180178db40.tar.lz mason-5f634e0c37e723fc0c33e06b4fd5c2180178db40.tar.xz mason-5f634e0c37e723fc0c33e06b4fd5c2180178db40.tar.zst mason-5f634e0c37e723fc0c33e06b4fd5c2180178db40.zip | |
mason.nvim
Diffstat (limited to '.github')
| -rw-r--r-- | .github/ISSUE_TEMPLATE/config.yml | 6 | ||||
| -rw-r--r-- | .github/ISSUE_TEMPLATE/feature_request.yaml | 2 | ||||
| -rw-r--r-- | .github/ISSUE_TEMPLATE/general_issue.yaml | 8 | ||||
| -rw-r--r-- | .github/ISSUE_TEMPLATE/server_installation_form.yaml | 18 | ||||
| -rw-r--r-- | .github/ISSUE_TEMPLATE/server_issue.yaml | 16 | ||||
| -rw-r--r-- | .github/workflows/auto-assign-issues.yml | 5 | ||||
| -rw-r--r-- | .github/workflows/metadata-diff.yml | 3 | ||||
| -rw-r--r-- | .github/workflows/run-autogen.yml | 31 |
8 files changed, 54 insertions, 35 deletions
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index fab5ab78..70db94b2 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,4 +1,4 @@ contact_links: - - name: Ask a question about nvim-lsp-installer or get support - url: https://github.com/williamboman/nvim-lsp-installer/discussions/new?category=q-a - about: Ask a question or request support for using nvim-lsp-installer + - name: Ask a question about mason.nvim or get support + url: https://github.com/williamboman/mason.nvim/discussions/new?category=q-a + about: Ask a question or request support for using mason.nvim diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml index f9a09d43..de4fe3ac 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yaml +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -7,7 +7,7 @@ body: - type: markdown attributes: value: | - 👋! This is not an issue template for questions! If you have questions, please refer to https://github.com/williamboman/nvim-lsp-installer/discussions/categories/q-a :) + 👋! This is not an issue template for questions! If you have questions, please refer to https://github.com/williamboman/mason.nvim/discussions/categories/q-a :) Before filing an issue, make sure that you meet the minimum requirements mentioned in the README. diff --git a/.github/ISSUE_TEMPLATE/general_issue.yaml b/.github/ISSUE_TEMPLATE/general_issue.yaml index 90786915..059d3fb2 100644 --- a/.github/ISSUE_TEMPLATE/general_issue.yaml +++ b/.github/ISSUE_TEMPLATE/general_issue.yaml @@ -5,14 +5,14 @@ body: - type: markdown attributes: value: | - 👋! This is not an issue template for questions! If you have questions, please refer to https://github.com/williamboman/nvim-lsp-installer/discussions/categories/q-a :) + 👋! This is not an issue template for questions! If you have questions, please refer to https://github.com/williamboman/mason.nvim/discussions/categories/q-a :) Before filing an issue, make sure that you meet the minimum requirements mentioned in the README. - type: textarea attributes: label: Problem description - description: A clear and concise description of what the issue is and why you think it's an issue with nvim-lsp-installer. + description: A clear and concise description of what the issue is and why you think it's an issue with mason.nvim. validations: required: true @@ -36,7 +36,7 @@ body: - type: checkboxes attributes: - label: I've recently downloaded the latest plugin version of both nvim-lsp-installer and nvim-lspconfig + label: I've recently downloaded the latest plugin version of mason.nvim options: - label: "Yes" @@ -64,7 +64,7 @@ body: - type: textarea attributes: label: Healthcheck output - placeholder: ":checkhealth nvim-lsp-installer" + placeholder: ":checkhealth mason" render: shell validations: required: true diff --git a/.github/ISSUE_TEMPLATE/server_installation_form.yaml b/.github/ISSUE_TEMPLATE/server_installation_form.yaml index a050752b..6464d539 100644 --- a/.github/ISSUE_TEMPLATE/server_installation_form.yaml +++ b/.github/ISSUE_TEMPLATE/server_installation_form.yaml @@ -7,14 +7,14 @@ body: - type: markdown attributes: value: | - 👋! This is not an issue template for questions! If you have questions, please refer to https://github.com/williamboman/nvim-lsp-installer/discussions/categories/q-a :) + 👋! This is not an issue template for questions! If you have questions, please refer to https://github.com/williamboman/mason.nvim/discussions/categories/q-a :) Before filing an issue, make sure that you meet the minimum requirements mentioned in the README. - type: textarea attributes: label: Problem description - description: A clear and concise description of what the issue is and why you think it's an issue with nvim-lsp-installer. + description: A clear and concise description of what the issue is and why you think it's an issue with mason.nvim. validations: required: true @@ -38,7 +38,7 @@ body: - type: checkboxes attributes: - label: I've recently downloaded the latest plugin version of both nvim-lsp-installer and nvim-lspconfig + label: I've recently downloaded the latest plugin version of mason.nvim options: - label: "Yes" @@ -65,16 +65,16 @@ body: - type: textarea attributes: - label: LspInstallInfo output - description: Please provide the installation output available in the `:LspInstallInfo` window, if possible. - placeholder: ":LspInstallInfo" + label: Mason output + description: Please provide the installation output available in the `:Mason` window, if possible. + placeholder: ":Mason" render: Text - type: textarea attributes: label: Installation log - description: "Make sure you set DEBUG level before installing the server. Refer to `:help nvim-lsp-installer-debugging`" - placeholder: ":LspInstallLog" + description: "Make sure you set DEBUG level before installing the server. Refer to `:help mason-debugging`" + placeholder: ":MasonLog" render: Text validations: required: true @@ -82,7 +82,7 @@ body: - type: textarea attributes: label: Healthcheck - placeholder: ":checkhealth nvim-lsp-installer" + placeholder: ":checkhealth mason" render: Text validations: required: true diff --git a/.github/ISSUE_TEMPLATE/server_issue.yaml b/.github/ISSUE_TEMPLATE/server_issue.yaml index 003db054..d9c19098 100644 --- a/.github/ISSUE_TEMPLATE/server_issue.yaml +++ b/.github/ISSUE_TEMPLATE/server_issue.yaml @@ -1,5 +1,5 @@ name: Server issue -description: Report an issue with using a server installed via nvim-lsp-installer +description: Report an issue with using a server installed via mason.nvim labels: - server-issue @@ -7,7 +7,7 @@ body: - type: markdown attributes: value: | - 👋! This is not an issue template for questions! If you have questions, please refer to https://github.com/williamboman/nvim-lsp-installer/discussions/categories/q-a :) + 👋! This is not an issue template for questions! If you have questions, please refer to https://github.com/williamboman/mason.nvim/discussions/categories/q-a :) Before filing an issue, make sure that you meet the minimum requirements mentioned in the README @@ -20,8 +20,8 @@ body: - type: textarea attributes: - label: Why do you think this is an issue with nvim-lsp-installer? - description: A short explanation of why you think it's an issue with nvim-lsp-installer. + label: Why do you think this is an issue with mason.nvim? + description: A short explanation of why you think it's an issue with mason.nvim. validations: required: true @@ -45,13 +45,13 @@ body: - type: checkboxes attributes: - label: I've manually reviewed the Nvim LPS client log (`:LspLog`) to find potential errors + label: I've manually reviewed the Nvim LPS client log (`:MasonLog`) to find potential errors options: - label: "Yes" - type: checkboxes attributes: - label: I've recently downloaded the latest plugin version of both nvim-lsp-installer and nvim-lspconfig + label: I've recently downloaded the latest plugin version of mason.nvim options: - label: "Yes" @@ -65,7 +65,7 @@ body: - type: textarea attributes: label: Steps to reproduce - description: Steps to reproduce using the **minimal debug** config. You can download it [from here](https://github.com/williamboman/nvim-lsp-installer/blob/main/tests/minimal_debug_init.lua). + description: Steps to reproduce using the **minimal debug** config. You can download it [from here](https://github.com/williamboman/mason.nvim/blob/main/tests/minimal_debug_init.lua). placeholder: | 1. Start neovim using the minimal_debug_init.lua: `nvim -u ~/Downloads/minimal_debug_init.lua` 2. ... @@ -105,7 +105,7 @@ body: - type: textarea attributes: label: Healthcheck - placeholder: ":checkhealth nvim-lsp-installer" + placeholder: ":checkhealth mason" render: Text validations: required: true diff --git a/.github/workflows/auto-assign-issues.yml b/.github/workflows/auto-assign-issues.yml index b8ceab46..0f99bd46 100644 --- a/.github/workflows/auto-assign-issues.yml +++ b/.github/workflows/auto-assign-issues.yml @@ -15,14 +15,17 @@ jobs: - name: Assign new issues to triaging project uses: srggrs/assign-one-project-github-action@1.2.1 if: github.event.action == 'opened' + env: + GITHUB_TOKEN: ${{ secrets.PAT }} with: - project: "https://github.com/williamboman/nvim-lsp-installer/projects/1" + project: "https://github.com/williamboman/mason.nvim/projects/1" column_name: "Needs triage" - name: Create a PR comment uses: peter-evans/create-or-update-comment@v1 if: contains(github.event.issue.labels.*.name, 'new-server-request') with: + token: ${{ secrets.PAT }} issue-number: ${{ github.event.issue.number }} body: | Hello! Cool! Pull requests are always very welcomed to add new servers. If the distribution of the diff --git a/.github/workflows/metadata-diff.yml b/.github/workflows/metadata-diff.yml index 76b1cd84..ddc129ac 100644 --- a/.github/workflows/metadata-diff.yml +++ b/.github/workflows/metadata-diff.yml @@ -15,12 +15,15 @@ jobs: with: neovim: true version: v0.7.0 + - name: Clone dependencies run: | mkdir -p ~/.local/share/nvim/site/pack/packer/start git clone --depth 1 https://github.com/neovim/nvim-lspconfig ~/.local/share/nvim/site/pack/packer/start/nvim-lspconfig + - name: Run autogen_metadata.sh script run: ./scripts/autogen_metadata.sh + - name: Ensure there are no diffs run: | git update-index --refresh diff --git a/.github/workflows/run-autogen.yml b/.github/workflows/run-autogen.yml index e7f32f0b..1a97114f 100644 --- a/.github/workflows/run-autogen.yml +++ b/.github/workflows/run-autogen.yml @@ -10,8 +10,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - with: - token: ${{ secrets.PAT }} - uses: rhysd/action-setup-vim@v1 with: neovim: true @@ -25,10 +23,25 @@ jobs: - name: Run autogen_metadata.sh script run: ./scripts/autogen_metadata.sh - - name: Commit and push changes - run: | - git config --local user.email "william@redwill.se" - git config --local user.name "William Boman (automated)" - if git commit -m "run autogen_metadata.lua" -- lua/nvim-lsp-installer/_generated; then - git push - fi + - name: Create Pull Request + id: cpr + uses: peter-evans/create-pull-request@v4 + with: + token: ${{ secrets.PAT }} + author: "William Botman <william+bot@redwill.se>" + committer: "William Botman <william+bot@redwill.se>" + add-paths: lua/mason/_generated + commit-message: run autogen_metadata.lua + branch: chore/autogen_metadata + branch-suffix: short-commit-hash + delete-branch: true + labels: automerge + title: run autogen_metadata.lua + + - name: Enable Pull Request Automerge + if: steps.cpr.outputs.pull-request-operation == 'created' + uses: peter-evans/enable-pull-request-automerge@v2 + with: + token: ${{ secrets.PAT }} + pull-request-number: ${{ steps.cpr.outputs.pull-request-number }} + merge-method: squash |
