From b22610cc7ceb513396adb8e648abb1d1613b2a82 Mon Sep 17 00:00:00 2001 From: dundargoc Date: Sat, 24 Feb 2024 13:44:39 +0100 Subject: ci: clarify misleading comment from bot The job `comment-config-changes.yml` fails if either `doc/server_configurations.md` or `doc/server_configurations.txt`, but the comment never mentions not to change `doc/server_configurations.txt`. --- .github/workflows/comment-config-changes.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/comment-config-changes.yml b/.github/workflows/comment-config-changes.yml index 2e907e8d..11451eb4 100644 --- a/.github/workflows/comment-config-changes.yml +++ b/.github/workflows/comment-config-changes.yml @@ -15,6 +15,6 @@ 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` directly. Edit the lua source file instead. See https://github.com/neovim/nvim-lspconfig/blob/master/CONTRIBUTING.md#generating-docs' + 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 fi -- cgit v1.2.3-70-g09d2