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

Automatically remove Examples section of pull request template when this repo is used to create a new repo #185

Open
mcmire opened this issue Apr 5, 2023 · 0 comments

Comments

@mcmire
Copy link
Contributor

mcmire commented Apr 5, 2023

I found this article which uses a GitHub workflow to set up a repo created from a template. The workflow will run when the repo is first created, force-push to itself to clear the version generated by GitHub, then delete the workflow. This would be handy to automatically remove the Examples section of the pull request template, a step that is often forgotten: MetaMask/core#1162. Taking things a step further, we could also use it to actually write a new pull request template on creation as per MetaMask/core#1162. That way this module template would have a version of the pull request template specific to it and any newly created repos would have their own version, minimizing confusion when submitting new pull requests to this repo specifically.

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

1 participant