-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add documentation for show-closed-prs
- Loading branch information
Showing
1 changed file
with
20 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -169,6 +169,26 @@ Only aggregate a specific repository using `fnmatch`_: | |
.. _fnmatch: https://docs.python.org/2/library/fnmatch.html | ||
|
||
Show closed github pull requests | ||
================================ | ||
|
||
gitaggregate has a mechanism to identify merges that correpond | ||
to merged or closed Github pull requests. | ||
|
||
Such merges are of the form `refs/pull/NNN/head` where NNN is | ||
the pull request number, with a https://github.com or [email protected] | ||
remote. | ||
|
||
To work around API limitation, you must first generate a | ||
`Github API token`_. | ||
|
||
.. code-block:: bash | ||
$ export GITHUB_TOKEN=... | ||
$ gitaggregate -c repos.yaml show-closed-prs | ||
.. _Github API token: https://github.com/settings/tokens | ||
|
||
Changes | ||
======= | ||
|
||
|