Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add root and data/ as PR template paths (#220)
## Overview Add `root` and `data/` as default PR template paths, in addition to `.github/`. These are common paths mentioned in the [docs](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository#adding-a-pull-request-template) for creating PR templates. ## Test Plan Created a test repro with `pull_request_template.md` in the root and verified that it's picked up when calling `av pr create` ``` ❯ go run ./cmd/av -C /Users/andrew/dev/projects/test pr create ``` ``` %% Creating pull request for branch 'foo' %% Lines starting with '%%' will be ignored and an empty message aborts the %% creation of the pull request. %% Pull request title (single line) Hello world %% Pull request body (multiple lines) A test PR template %% This branch includes the following commits: %% 8e34ff9 Hello world ``` fixes #219
- Loading branch information