Timeline for How to change the default first commit message when using a GitHub template?
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 24, 2022 at 14:50 | comment | added | Paul Razvan Berg | @djsp It might be true that the workflow runs on every new branch or tag, but in my scenario, I don't mind that, because I am only maintaining a main branch, and no tags. However, I don't see why this should be a problem anyway, because of the check on line 12, which ensures that the workflow is never run in the template repo itself. | |
| Dec 24, 2022 at 14:47 | comment | added | djsp | Can you elaborate on your solution? I understand your code ends up calling git commit --amend. However, according to the GitHub documentation, the event create triggers not (specifically) when a repository is created from a template, but whenever a git reference (branch or tag) is created. How does your workflow not run every time you push a new branch or tag? | |
| Nov 11, 2022 at 12:23 | history | edited | Gangula | CC BY-SA 4.0 | corrected link reference |
| Nov 11, 2022 at 11:44 | history | answered | Paul Razvan Berg | CC BY-SA 4.0 |