Skip to content

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

@mcmire

Description

@mcmire

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions