aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2022-12-15 16:17:36 -0800
committerGitHub <noreply@github.com>2022-12-15 16:17:36 -0800
commite95c12cea141632d3502fad4fb1c9260a91a65f4 (patch)
tree5b06b97e23ec4bdb9f86bb390699ab5662eb454f /.github/workflows
parentci: remove auto-close bot (diff)
downloadnvim-lspconfig-e95c12cea141632d3502fad4fb1c9260a91a65f4.tar
nvim-lspconfig-e95c12cea141632d3502fad4fb1c9260a91a65f4.tar.gz
nvim-lspconfig-e95c12cea141632d3502fad4fb1c9260a91a65f4.tar.bz2
nvim-lspconfig-e95c12cea141632d3502fad4fb1c9260a91a65f4.tar.lz
nvim-lspconfig-e95c12cea141632d3502fad4fb1c9260a91a65f4.tar.xz
nvim-lspconfig-e95c12cea141632d3502fad4fb1c9260a91a65f4.tar.zst
nvim-lspconfig-e95c12cea141632d3502fad4fb1c9260a91a65f4.zip
ci: don't auto-close config changes
just leave a comment instead
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/comment-config-changes.yml (renamed from .github/workflows/close-config-changes.yml)5
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/close-config-changes.yml b/.github/workflows/comment-config-changes.yml
index b45a755e..df35bae0 100644
--- a/.github/workflows/close-config-changes.yml
+++ b/.github/workflows/comment-config-changes.yml
@@ -1,4 +1,4 @@
-name: "Close changes to config"
+name: "Check changes to config"
on: [pull_request_target]
jobs:
close-changes:
@@ -15,7 +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 close $PR_NUMBER
- gh pr comment $PR_NUMBER --body "This pull request has been automatically closed. Changes to server_configurations.md aren't allowed - edit the lua source file instead. Consult https://github.com/neovim/nvim-lspconfig/blob/master/CONTRIBUTING.md#generating-docs."
+ 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"
exit 1
fi