Skip to content

Commit

Permalink
v2.1.0: Add limit option
Browse files Browse the repository at this point in the history
  • Loading branch information
escudero89 authored and manuelmhtr committed Aug 24, 2021
1 parent c2e7317 commit 79e97d8
Show file tree
Hide file tree
Showing 11 changed files with 2,207 additions and 2,593 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog
All notable changes to this project will be documented in this file.

## [2.1.0] - 2021-08-23
### Added
- Option `limit` to indicate the maximum numbers of rows to display in the table ([#13](https://github.com/flowwer-dev/pull-request-stats/pull/13) by [escudero89](https://github.com/escudero89))

## [2.0.3] - 2021-08-02
### Fixes
- [#7](https://github.com/flowwer-dev/pull-request-stats/issues/7) Do not duplicate results table when there's no other content
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ The possible inputs for this action are:
| `charts` | Whether to add a chart to the start or not. Possible values: `true` or `false`. | `false` |
| `disable-links` | If `true`, removes the links to the detailed charts. Possible values: `true` or `false`. | `false` |
| `sort-by` | The column used to sort the data. Possible values: `REVIEWS`, `TIME`, `COMMENTS`. | `REVIEWS` |
| `limit` | The maximum number of rows to display in the table. A value of `0` means unlimited. |`0`|


## Examples
Expand Down
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ inputs:
description: 'Prevents from adding any external links in the stats'
required: false
default: false
limit:
description: 'The maximum number of rows to display in the table. A value of `0` means unlimited.'
required: false
default: 0
runs:
using: 'node12'
main: 'dist/index.js'
Expand Down
Loading

0 comments on commit 79e97d8

Please sign in to comment.