Files
metrics/source/plugins/projects/metadata.yml

43 lines
1.2 KiB
YAML

name: "🗂️ Active projects"
cost: 1 GraphQL request + 1 GraphQL request per repository project
category: github
index: 15
supports:
- user
- organization
- repository
inputs:
# Enable or disable plugin
plugin_projects:
description: Display active projects
type: boolean
default: no
# Number of projects to display
# Set to 0 to only display "plugin_projects_repositories" projects
# Projects listed in "plugin_projects_repositories" are not affected by this option
plugin_projects_limit:
description: Maximum number of projects to display
type: number
default: 4
min: 0
max: 100
# List of repository projects to display, using the following format:
# :user/:repo/projects/:project_id
plugin_projects_repositories:
description: List of repository project identifiers to disaplay
type: array
example: username/repo/projects/1, username/repo/projects/2, ...
format:
- comma-separated
- /(?<user>[-a-z0-9]+)[/](?<repo>[-a-z0-9]+)[/]projects[/](?<id>[0-9]+)/
default: ""
# Display projects descriptions
plugin_projects_descriptions:
description: Display projects descriptions
type: boolean
default: no