From da338c8d7e33fbb810368a808781f56224b4fea7 Mon Sep 17 00:00:00 2001 From: Raphael Date: Thu, 25 Apr 2024 18:23:37 +0800 Subject: ci(docs): reword "check config changes" #3123 --- .github/workflows/comment-config-changes.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/comment-config-changes.yml b/.github/workflows/comment-config-changes.yml index 11451eb4..40bcaafa 100644 --- a/.github/workflows/comment-config-changes.yml +++ b/.github/workflows/comment-config-changes.yml @@ -1,7 +1,7 @@ name: "Check changes to config" on: [pull_request_target] jobs: - close-changes: + check-config-changes: runs-on: ubuntu-latest permissions: pull-requests: write @@ -15,6 +15,5 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} - run: | if ! git diff origin/$GITHUB_BASE_REF...$(git branch --show-current) --exit-code -- doc/server_configurations.md doc/server_configurations.txt; then - gh pr comment $PR_NUMBER --body 'Do not change `server_configurations.md` or `server_configurations.txt` directly as these are automatically generated. Edit the lua source file instead. See https://github.com/neovim/nvim-lspconfig/blob/master/CONTRIBUTING.md#generating-docs' - exit 1 + gh pr comment $PR_NUMBER --body 'Note that `server_configurations.md` or `server_configurations.txt` will be regenerated by the docgen CI process. Edit the Lua source file instead. For details on generating documentation, see: https://github.com/neovim/nvim-lspconfig/blob/master/CONTRIBUTING.md#generating-docs' fi -- cgit v1.2.3-70-g09d2