AndreasAugustin / AndreasAugustin/actions-template-sync

[Feat]: git tag the last source template version

Aperta
#618 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Shell
Stelle
326
Fork
56
Merge medio
7h 21m
PR unite (30g)
8

Descrizione

### Describe the feature

We pull from the source repository.
Within the target repository we can loose the information about the last pulled git hash.
E.g. because of squashed commits. Github will keep those dangling commits some time but will most likely be garbage collected.
To keep the hash within the target repository the commit should be tagged with a version.
Current idea is to use something like the branch name .
It needs to be possible to get an order of those tags to be able to find the last one.

### Use Case

The current deletion of files feature is buggy and not working.
To be able to find all deleted remote files the last merge hash must be known.

### Proposed Solution

Add the hash and push it together with the branch.

### Acknowledgements

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.