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

Error: fatal: bad object ac7ed0108181239e44712926a3582ca96902bc68 #3

Open
securestep9 opened this issue Jun 14, 2020 · 1 comment
Open

Comments

@securestep9
Copy link

trying to run this action on a PR produces an error:
++ grep '.py$'
fatal: bad object ac7ed0108181239e44712926a3582ca96902bc68

@Athanasius
Copy link

Athanasius commented Jul 26, 2020

Are you using checkout@v2 as first step? It defaults to git fetch ... --depth=1 which caused just such an issue for me. Easily work-around though:

    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 0

That makes it not do that, but fetch the entire history instead.

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

2 participants