MetaMask / MetaMask/metamask-module-template

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

Open
#185 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
31
Forks
18
Avg merge
11h 39m
Merged PRs (30d)
1

Description

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: https://github.com/MetaMask/core/pull/1162. Taking things a step further, we could also use it to actually write a new pull request template on creation as per https://github.com/MetaMask/core/pull/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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the GitHub workflow approach described in the linked MetaMask/core pull request and inspect how this repository stores its pull request template. Define the workflow's creation, self-update, and cleanup behavior, then verify that a repository created from the template receives a module-specific pull request template without the Examples section.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
devops, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.