Skip to content

Files

Latest commit

 

History

History
127 lines (118 loc) · 4.07 KB

README.md

File metadata and controls

127 lines (118 loc) · 4.07 KB

🎩 Notable contributions

This plugin displays badges of repositories where you commited at least once on default branch.

Supported features
→ Full specification
📗 Classic template
👤 Users
🔑 (scopeless) read:org (optional) read:user (optional) repo (optional)
Indepth analysis
Contributions in organizations only

➡️ Available options

TypeDescription
plugin_notable

Enable notable plugin

type: boolean
default: no
plugin_notable_filter

Query filter

Based on GitHub search syntax. Supported fields are stars, forks and watchers

type: string
plugin_notable_from

Filter by repository owner account type

  • all: no filtering
  • organization: only organization accounts repositories
  • user: only user accounts repositories
type: string
default: organization
allowed values:
  • all
  • organization
  • user
plugin_notable_repositories

Toggle repository name display

Note that Repositories hosted by user account will always be fully displayed

type: boolean
default: no
plugin_notable_indepth

Indepth mode

🌐 Web instances must configure settings.json
type: boolean
default: no

🔎 indepth mode

The plugin_notable_indepth option collects additional stats about your contributions, such as:

  • Total number of commits within a repository or organization.

For each of the above, a badge is awarded. Its color and progress depends of the associated value.

ℹ️ 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'