Skip to content
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

Potential workflow to automate repo creation #9

Open
2 tasks done
philnewm opened this issue Sep 2, 2024 · 1 comment
Open
2 tasks done

Potential workflow to automate repo creation #9

philnewm opened this issue Sep 2, 2024 · 1 comment

Comments

@philnewm
Copy link
Collaborator

philnewm commented Sep 2, 2024

Is there an existing issue for this?

  • I have searched the existing issues.

Please describe the feature you have in mind and explain what the current shortcomings are?

When creating a repo from the ayon-addon-template repo the files and labels are carried over in the first place.
Missing are any kind of variables, secrets or branches.

Using the option to also recreate the branches like develop and main will create both of them.
But this will create the Branches with unrelated histories so merging becomes impossible.
This is intended according to Github Documentation

So it would make sense to use the template as a baseline and have a workflow which creates all other aspects like branches, variables and secrets automatically.
Using a manual trigger.

How would you imagine the implementation of the feature?

This can be achieved using the gh command line tool for github.
With just a bunch of simple comamnds a variables fwtching a workflow like can be implemented.

The gh tool is preinstalled in any github runner.

Are there any labels you wish to add?

  • I have added the relevant labels to the feature request.

Describe alternatives you've considered:

No response

Additional context:

No response

@philnewm philnewm added the feature Additional functionality which doesn't exist yet label Sep 2, 2024
@philnewm
Copy link
Collaborator Author

Due to the already implemented reset-repo-workflow this is already 70% done and will most likely just need some fine-tuning.

@mkolar mkolar removed the feature Additional functionality which doesn't exist yet label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants