-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating a template from this repo doesn't run actions automatically #5
Comments
Richard Robinson thanks for taking this- let me know if you have any Qs! |
Marissa M Could you give a bit more information about the issue? I’m a bit confused about the actual problem |
For sure, here are the repro steps:
This is because the actions are triggered on the event of changing a certain file, but when you create a new repo, GitHub doesn’t send file changed events for all the files. So because the events aren’t sent, the labels and milestones aren’t being initialized |
The task is to figure out if there is an event that is sent after a repository is created that we could additionally listen to, to trigger the actions |
ah ok, that makes more sense, thanks!! |
👍 |
Marissa M can you give me permission to push to a branch for this repo please? |
Marissa M how do I actually test if my changes fixed the issue? Since you can’t use |
hmm not an ideal solution, but you might have to create a fork with your changes, make that a template, and test making a repo out of it. pretty manual but good thing that GH doesn't charge for new repos! |
And yeah I think listening to |
and they both just completed |
Yeah looks like it! If you create a separate branch, does it trigger? We probably dont want it to trigger on new branches other than main/master |
lemme check |
ah yes it does trigger on a new branch creation |
ill see if theres any options |
ok ya it doesnt seem to allow you to specify the branch |
The actions in the
/workflow
file are waiting on a change to those files, and that's not triggered when the repo is created.Right now, you'd have to edit both the label and milestone yml files to trigger the workflows.
We want the actions to trigger automatically upon repo creation.
The text was updated successfully, but these errors were encountered: