Skip to content

dependabot PR merges can result in failed deploy-docs workflows #153

Description

@noelmcloughlin

Yesterday I merged a bunch of DependaBot PRs across my repositories and all deploy-docs.yaml jobs failed.

All repositories had similar form of message:

To https://github.com/lmodel/d3fend
 ! [rejected]        gh-pages -> gh-pages (fetch first)
error: failed to push some refs to 'https://github.com/lmodel/d3fend'
hint: Updates were rejected because the remote contains work that you do not
hint: have locally. This is usually caused by another repository pushing to
hint: the same ref. If you want to integrate the remote changes, use
hint: 'git pull' before pushing again.

Fixing this manually is labor intensive since I updated a number of repositories.

It would be better to --force push to gh-pages since fixing these type of failures is not trivial.

Metadata

Metadata

Assignees

No one assigned

    Labels

    _projectRelated to the generated project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions