Skip to content

Mismatch when updating latest via webhook and after clone #10915

Closed
@nadyawilliams

Description

@nadyawilliams

Details

I am building the docs for a repo that has not been changed today. Simply making sure that builds go ok.

First successful build at the timestamp Completed Nov. 20, 2023. 11:07 p.m.
According to the console logs, the first two commands of the build were :
git clone --depth 1 https://github.com/RCIC-UCI-Public/rcs3-docs .
git fetch origin --force --prune --prune-tags --depth 50

With no changes to the repo or RTD settings, from RTD console i execute a second build about 30 min later

Second build failed at the timestamp Completed Nov. 20, 2023. 11:33 p.m.
According to the console logs the first two commands of this build were different:
git clone --depth 1 https://github.com/RCIC-UCI-Public/rcs3-docs .
git fetch origin --force --prune --prune-tags --depth 50 refs/heads/master:refs/remotes/origin/master
fatal: couldn't find remote ref refs/heads/master

Expected Result

Considering no repo or RTD configuration was touched in any way I assume it is a result of some changes in
the automated build process.

The second git command additional parameters refs/heads/master:refs/remotes/origin/master
make this git fetch command fail.

Please advise how to avoid the addition of these extraneous arguments to git fetch command during the automated build.
No such parameters are present anywhere in my repo files

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions