-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
staco and lib/github: add utility for stable comments. (#772)
Background: The owner BOT (separate draft PR) requires maintaining a comment in the PR stream with up to date information on who the best and necessary reviewers are across all the changes on the PR. No need to append a new comment every time a commit is pushed, or something is changed. But this functionality is useful on it's own to create "mini dashboards" that are update dynamically in the comment stream of a PR. In this PR, I took the code out of that owner bot branch, and turned it into a free standing utility and library. Specifically, this PR: - introduces a "staco" tool to handle stable comments. See the README under staco to learn how to use it. - introduces a lib/github directory with some useful wrappers around github (always enforcing retry, timeout and making the API slightly more friendly). - introduces a stablecomment library to programmaticaly handle stable comments. If this looks reasonable enough, I want to include a built in binary of staco in our dev container, and start updating dashboards from our CI/CD jobs.
- Loading branch information
1 parent
2679dd9
commit 79a8285
Showing
19 changed files
with
2,152 additions
and
24 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.