Open utterances-bot opened 3 years ago
Hi mate, I tried this out but the action doesn't trigger. Github states 'create' runs when someone creates a branch or tag. Has this changed since your blog post? Many thanks.
Not that I know of other than updating .net versions! I'll take a look and see what's happened. Thanks for letting me know!
On Sun, 20 Jun 2021, 18:37 William Hales, @.***> wrote:
Hi mate, I tried this out but the action doesn't trigger. Github states 'create' runs when someone creates a branch or tag. Has this changed since your blog post? Many thanks.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lgulliver/lgulliver.github.io/issues/6#issuecomment-864587709, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA7IU7CZIEESHTCFWSZTSTTTYRO3ANCNFSM47AINYKQ .
@91whales I think we may have discovered a bug. See, if I go to new repository > pick template > create
, the workflow will run fine.
However, if I go to the template repo and click the use this template
button, the action workflow fails to trigger.
This doesn't work for me at all. I'm performing other actions, but I have it set to on: create and it does not fire when a repo is created from a template. It doesn't run using either method. Is anyone able to do an on: create and have it run when the repo is created from a template anymore? Thanks.
I'm able to recreate the same issue as @maxdiorio. Looks like on: create
no longer seems to reliably fire when a repo is created for the first time.
Does the fork
event fire when a template is made?
Nope, looks like it doesn't. There don't appear to be any events that fire when a template is deployed
Thanks so much for this!! I finally got around to this tutorial. Only had to do some updates to the different libraries. https://github.com/kneyugn/the-scaffolder
Dynamically Create Projects With Github Templates and Actions - Liam’s Blog
This week I’ve been experimenting with template repositories in Github. There’s a lot of really great stuff you can do to scaffold your projects out of the box with them, but I wanted to take it one step further and have a template that only contained the bare minimum and no pre-existing project files other than a .gitignore and the relevant workflow.
https://lgulliver.github.io/dynamically-generate-projects-with-github-templates-and-actions/