From 9039aa24b6386407b3cdbbf61052f49a8d1e8cbe Mon Sep 17 00:00:00 2001 From: Dundar Göc Date: Tue, 19 Oct 2021 09:54:48 +0200 Subject: ci(commitlint): use action to checkout to pr branch directly --- .github/workflows/commitlint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows/commitlint.yml') diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index 09df580b45..559d8eae83 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -12,8 +12,8 @@ jobs: - uses: actions/checkout@v2.3.1 with: fetch-depth: 0 + ref: ${{ github.event.pull_request.head.sha }} - uses: rhysd/action-setup-vim@v1 with: neovim: true - - run: gh pr checkout ${{ github.event.pull_request.number }} - run: nvim --clean -es +"lua require('scripts.lintcommit').main({trace=true})" -- cgit