-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable writing stack trees to PR bodies (#271)
This PR adds a new configuration option, `pullRequest.writeStack`, that if enabled will add stack trees directly to GitHub pull requests. For ease of navigation, these are added to the top as follows: ![image](https://github.com/aviator-co/av/assets/1815707/5d4f9286-e083-4d01-b1f2-7f31116bed0d) And when expanded, show the stack of requests from the latest PR down to the trunk branch: ![image](https://github.com/aviator-co/av/assets/1815707/74c68d39-bbca-4ce2-8f7a-ad3bf0244fd6) Most PR stacks tend to be linear, but an alternate format is used if there are forks in the stack that make it look more like a tree: ![image](https://github.com/aviator-co/av/assets/1815707/4941043e-3f59-4104-af62-9600d9938d99) This isn't the default format since I personally think the one above is cleaner to read, especially on phones that run out of horizontal real estate.
- Loading branch information
1 parent
934e5c7
commit 17cc574
Showing
8 changed files
with
442 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.