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

Set checkout fetch depth for codecov #646

Merged
merged 1 commit into from Mar 15, 2021

Conversation

ferdnyc
Copy link
Contributor

@ferdnyc ferdnyc commented Mar 15, 2021

Honestly thought I'd already committed this, but I guess I was thinking of #636.

When used with Github Actions and its predefined actions/checkout step, Codecov needs the depth overridden in the default git checkout --depth=1 command, which can be done by explicitly setting a fetch-depth option for actions/checkout. This PR changes that step to:

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

See https://community.codecov.io/t/issue-detecting-commit-sha-please-run-actions-checkout-with-fetch-depth-1-or-set-to-0/2571

@ferdnyc ferdnyc added the build Issues related to compiling or installing libopenshot and its dependencies label Mar 15, 2021
@ferdnyc ferdnyc merged commit 9efa359 into OpenShot:develop Mar 15, 2021
@ferdnyc ferdnyc deleted the codecov-fetch-depth branch March 15, 2021 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues related to compiling or installing libopenshot and its dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant