3.2 KiB
3.2 KiB
🎩 Notable contributions
The notable plugin displays badges of organization where you commited at least once on main branch.
|
|
Using indepth statistics
The plugin_notable_indepth option lets you get additional metrics about your contribution, such as:
- Total number of commits within a repository or organization. The badge will have a circular gauge which is proportional to the percentage of total contribution. It will also determine the resulting color of the badge.
🔣 On web instances,
indepthis an extra feature and must be enabled globally insettings.json
➡️ Available options
| Type | Description |
plugin_notable |
Display notable contributions in organizations |
type: boolean
default: no |
|
plugin_notable_filter |
Query filter |
type: string
|
|
plugin_notable_from |
Filter by repository host account type |
type: string
default: organization allowed values:
|
|
plugin_notable_repositories |
Also display repository name |
type: boolean
default: no |
|
plugin_notable_indepth |
Indepth notable contributions processing |
🌐 Web instances must configure settings.jsontype: boolean
default: no |
ℹ️ Examples workflows
name: Contributions
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.notable.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ''
plugin_notable: 'yes'
name: Indepth analysis
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.notable.indepth.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ''
plugin_notable: 'yes'
plugin_notable_indepth: 'yes'
plugin_notable_repositories: 'yes'