diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2022-12-15 16:17:36 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-15 16:17:36 -0800 |
| commit | e95c12cea141632d3502fad4fb1c9260a91a65f4 (patch) | |
| tree | 5b06b97e23ec4bdb9f86bb390699ab5662eb454f /.github/workflows/close-config-changes.yml | |
| parent | ci: remove auto-close bot (diff) | |
| download | nvim-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/close-config-changes.yml')
| -rw-r--r-- | .github/workflows/close-config-changes.yml | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/.github/workflows/close-config-changes.yml b/.github/workflows/close-config-changes.yml deleted file mode 100644 index b45a755e..00000000 --- a/.github/workflows/close-config-changes.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: "Close changes to config" -on: [pull_request_target] -jobs: - close-changes: - runs-on: ubuntu-latest - permissions: - pull-requests: write - env: - PR_NUMBER: ${{ github.event.pull_request.number }} - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - 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." - exit 1 - fi |
