aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2021-11-11 20:29:17 +0100
committerGitHub <noreply@github.com>2021-11-11 11:29:17 -0800
commitdcb071d90bd9e4f3e9b4067d01bfb21eaf0798fe (patch)
tree41e7aaa8c7c7808665b216e920ee97041cc48b33
parentfeat: spawn the language server in resolved root directory (#1407) (diff)
downloadnvim-lspconfig-dcb071d90bd9e4f3e9b4067d01bfb21eaf0798fe.tar
nvim-lspconfig-dcb071d90bd9e4f3e9b4067d01bfb21eaf0798fe.tar.gz
nvim-lspconfig-dcb071d90bd9e4f3e9b4067d01bfb21eaf0798fe.tar.bz2
nvim-lspconfig-dcb071d90bd9e4f3e9b4067d01bfb21eaf0798fe.tar.lz
nvim-lspconfig-dcb071d90bd9e4f3e9b4067d01bfb21eaf0798fe.tar.xz
nvim-lspconfig-dcb071d90bd9e4f3e9b4067d01bfb21eaf0798fe.tar.zst
nvim-lspconfig-dcb071d90bd9e4f3e9b4067d01bfb21eaf0798fe.zip
ci: fix close config changes workflow (#1408)
* set pull-request permission to write * change event trigger pull_request to pull_request_target since github requires it to make any changes, even if the permission is set to write.
-rw-r--r--.github/workflows/close-config-changes.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/close-config-changes.yml b/.github/workflows/close-config-changes.yml
index 10731c4b..29646229 100644
--- a/.github/workflows/close-config-changes.yml
+++ b/.github/workflows/close-config-changes.yml
@@ -1,8 +1,10 @@
name: "Close changes to config"
-on: [pull_request]
+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 }}