neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit b0d156c00b3900c8e40cf7f0e76c34b734d50598
parent 374955bcc571dff05f068ec18d0f578d1f334c5f
Author: dundargoc <33953936+dundargoc@users.noreply.github.com>
Date:   Sat, 11 Feb 2023 13:22:54 +0100

ci: run lintcommit file from PR branch (#22219)

As the trigger type is no longer pull_request_target there is no longer
any risk of using the lintcommit script directly from the user PR.
Diffstat:
M.github/workflows/lintcommit.yml | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/.github/workflows/lintcommit.yml b/.github/workflows/lintcommit.yml @@ -15,9 +15,7 @@ jobs: with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} - path: pr_nvim - uses: rhysd/action-setup-vim@v1 with: neovim: true - - run: wget https://raw.githubusercontent.com/neovim/neovim/master/scripts/lintcommit.lua - - run: nvim --clean -es +"cd pr_nvim" +"lua dofile('../lintcommit.lua').main({trace=false})" + - run: nvim --clean -es +"lua require('scripts.lintcommit').main({trace=false})"