AndreasAugustin / AndreasAugustin/actions-template-sync

[Feat]: Use three way merge

Aberta
#583 10 comentários 0 reações 0 responsáveis Ver no GitHub
question
Linguagem predominante
Shell
Estrelas
326
Forks
56
Merge médio
7h 21min
PRs com merge (30d)
8

Descrição

### Describe the feature

Consider using a three way merge to update derived projects from a template.

### Use Case

Context: A derived project that has modified files imported from a template. PRs opened to sync the template will suggest reverting changes back to the template's version.

This is particularly annoying if you are using the template to dictate flow (build, GitHub workflows) with derived projects making changes to suit their needs.
A sync with ANY change to the template will identify common files changed in the derived child as needing to be reverted.

### Proposed Solution

Use a three way merge to identify whether the change was done in the derived project (Thus shouldn't be part of a PR) or in the template (Should be part of a PR).

### Acknowledgements

- [ ] I may be able to implement this feature request

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.