🗃️ Base content | |||
|---|---|---|---|
| Supported features → Full specification |
📗 Classic template 📘 Repository template 📙 Terminal template |
||
👤 Users 👥 Organizations 📓 Repositories |
|||
🔑 (scopeless) read:org (optional) read:user (optional) repo (optional) |
|||
|
|||
➡️ Available options
| Type | Description |
base |
Base content The following sections are supported:
These are all enabled by default, but it is possible to explicitely opt out from them. |
type: array
(comma-separated)
default: header, activity, community, repositories, metadata allowed values:
|
|
repositories |
Repositories to fetch A higher value result in more accurate metrics but can hit GitHub API rate-limit more easily (especially with a lot of plugins enabled) |
type: number
(0 ≤
𝑥)
default: 100 |
|
repositories_batch |
Repositories to fetch at a time If you receive |
type: number
(1 ≤
𝑥
≤ 100)
default: 100 |
|
repositories_forks |
Include forks |
type: boolean
default: no |
|
repositories_affiliations |
Repositories affiliations
Some plugin outputs may be affected by this setting too. Set to |
type: array
(comma-separated)
default: owner allowed values:
|
|
repositories_skipped |
Default skipped repositories |
| ⏭️ Global option type: array
(comma-separated)
|
|
users_ignored |
Default ignored users |
| ⏭️ Global option ✨ On master/maintype: array
(comma-separated)
default: github-actions[bot], dependabot[bot], dependabot-preview[bot] |
|
commits_authoring |
Name, username, email addresses that has been used for authoring commits This setting can be used to detect commits ownerships in some plugin |
| ⏭️ Global option type: array
(comma-seperated)
default: → User login |
ℹ️ Examples workflows
name: Default metrics
uses: lowlighter/metrics@latest
with:
filename: metrics.base.svg
token: ${{ secrets.METRICS_TOKEN }}
base: header, activity, community, repositories, metadata