Files
metrics/source/plugins/introduction/README.md
2022-01-14 01:40:24 -05:00

1.6 KiB
Raw Blame History

🙋 Introduction

The introduction plugin display your account bio or your organization/repository description. It is mostly intended for metrics used outside of GitHub, since these informations are already available on GitHub.

For an user or an organization
For a repository

➡️ Available options

Option Type (format) [default] {allowed values} Description
plugin_introduction boolean [no] Display account or repository introduction
plugin_introduction_title boolean [yes] Display introduction section title

→ Full specification

Examples workflows

name: User introduction
uses: lowlighter/metrics@latest
with:
  filename: metrics.plugin.introduction.svg
  token: ${{ secrets.METRICS_TOKEN }}
  user: github
  base: header
  plugin_introduction: 'yes'

name: Repository introduction
uses: lowlighter/metrics@latest
with:
  filename: metrics.plugin.introduction.repository.svg
  token: ${{ secrets.METRICS_TOKEN }}
  template: repository
  repo: metrics
  base: header
  plugin_introduction: 'yes'