actions-marketplace-validations/Get Hot Repos
Get the repos you most recently committed to.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| token | Your github personal access token. Usually, just need to set it to your GITHUB_TOKEN in the workflow. | yes | — |
| entryCount | How many repos to fetch from your list. | no | 5 |
| sortOrder | Whether to sort in ascending order or descending order. Accepted values: ascending | asc descending | desc | no | desc |
| jsonFilepath | The path to the file for writing the generated json. If you'd like to not save to a file, set this to an empty string ('') or ignore it. | no | "" |
| mdHeader | A header for the generated markdown file. If you aren't using markdown, this field can be ignored. | no | "" |
| mdListTemplate | A template list entry for each element in the list. Each field in the `topRepos` output is assigned a replacer which will be searched for in the template. When a replacer is found, it is substituted with the value from the `topRepos` entry being processed. If you aren't using markdown, this field can be ignored. | no | * [{{REPO}}]({{REPOURL}}) ([{{COMMITMSG}}]({{COMMITURL}})) |
| mdFilepath | The path to the file for writing the generated markdown. If you'd like to not save to a file, set this to an empty string ('') or ignore it. If you aren't using markdown, this field can be ignored. | no | "" |
| generateMarkdown | Whether to generate a markdown output or not. Set to false to disable markdown output | no | true |
Outputs
| name | description |
|---|---|
| topRepos | The top repos reported by the action. Repos are sorted in descending order based on the date of the last commit. |
| markdown | The generated markdown for the obtained repos. This is only set if `generateMarkdown` is true. |