Skip to content

The markbind-action workflow should not always force push #1461

Description

@dcshzj

Is your request related to a problem?

Currently, the markbind-action workflow force-pushes to the gh-pages branch every time it is executed.

It would be ideal to allow the user to determine if they wish to force push to the gh-pages branch or to retain the history of the gh-pages branch. It may be useful in some cases where the user wishes to see the changes in the output HTML as a Git diff.

Describe the solution you'd like

An additional configuration setting can be added to modify the behaviour of the workflow. As force-pushing is irreversible, the default behaviour should be to retain the history, but allow the user to set this configuration setting to enable force-pushing.

Metadata

Metadata

Assignees

Labels

s.UnderDiscussionThe team will evaluate this issue to decide whether it is worth adding

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions