From a1f115bed78368d4d26c05c5fb094fd771260e7c Mon Sep 17 00:00:00 2001 From: Aljoscha Poertner Date: Mon, 4 Sep 2023 16:57:42 +0200 Subject: [PATCH] ci(lint): fix convco check job Signed-off-by: Aljoscha Poertner --- .github/workflows/lint.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e725008..acf5b08 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -33,6 +33,9 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + with: + ref: ${{ github.event.pull_request.head.sha }} + fetch-depth: 0 - name: Install stable toolchain uses: actions-rs/toolchain@v1 with: @@ -44,4 +47,5 @@ jobs: version: latest - name: Check if all commits are conventional run: | + git --no-pager log --decorate=short --pretty=oneline -n 50 convco check \ No newline at end of file