Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

commitsar not working on main branch as ref #499

Open
israelshenkar opened this issue Feb 28, 2023 · 2 comments
Open

commitsar not working on main branch as ref #499

israelshenkar opened this issue Feb 28, 2023 · 2 comments

Comments

@israelshenkar
Copy link

Starting analysis of commits on branch
reference not found

when added master branch to my new repo it started working again

@fallion
Copy link
Member

fallion commented Mar 10, 2023

Hi @israelshenkar

Which version are you using? Just so I can debug from there.

@t3hmrman
Copy link

t3hmrman commented Jan 29, 2024

Hey for anyone that runs into this, it was a case of RTFM (in particular the note about fetch-depth). Copy pastable workflow:

name: Lint

on:
  pull_request:

jobs:
  ensure-conventional-commits:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0
      - name: Ensure conventional commits
        uses: aevea/commitsar@916c7b483225a30d3a17f407fa25f5b25888ea69 # v0.20.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants