You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have downloaded commitsar executable on my custom action runner (running Ubuntu) and using it as below
steps:
- name: Checkoutuses: actions/checkout@v2 # I have tried actions/checkout@v1 too
- name: Validate Commitsrun: commitsar -v
Problem
commitsar fails on a shallow clone
runner@runner-deployment-nzvgd-6kpsc:/runner/_work/.github/.github$ git log
commit 048c926b55b5386bdc0cb4d0f0919a993afc46b3 (grafted, HEAD)
Author: Vikas Kumar <[email protected]>
Date: Fri Sep 17 01:24:33 2021 +1000
docs: updated README
Fixed the repository name in README
runner@runner-deployment-nzvgd-6kpsc:/runner/_work/.github/.github$
runner@runner-deployment-nzvgd-6kpsc:/runner/_work/.github/.github$ git branch -a
* (HEAD detached at 048c926)
runner@runner-deployment-nzvgd-6kpsc:/runner/_work/.github/.github$
runner@runner-deployment-nzvgd-6kpsc:/runner/_work/.github/.github$ commitsar -v
2021/09/16 15:56:51 config file not found, using defaults
• Starting pipeline: commit-pipeline
• Starting analysis of commits on branch HEAD
• All pipelines complete
• [commit-pipeline] reference not found
Some errors were found
runner@runner-deployment-nzvgd-6kpsc:/runner/_work/.github/.github$
Environmentent
I have downloaded
commitsar
executable on my custom action runner (running Ubuntu) and using it as belowProblem
commitsar
fails on a shallow cloneWorkaround
or
The text was updated successfully, but these errors were encountered: