README.md
November 14, 2023 ยท View on GitHub
| โ Back to templates index | |
๐ Repository template | |
|---|---|
A template mimicking GitHub visual identity and specially crafted for repositories. | |
| Supported features โ Full specification |
๐ฐ ๐ช ๐ธ ๐น ๐ ๐๏ธ ๐ ๐ท๏ธ ๐ ๐จโ๐ป โฑ๏ธ ๐งโ๐คโ๐ง โ๏ธ ๐๏ธ ๐ผ ๐ โจ ๐งฎ |
๐ Repositories |
|
*๏ธโฃ SVG *๏ธโฃ PNG *๏ธโฃ JPEG #๏ธโฃ JSON |
|
|
|
|
๐ Using a repository template
To use a repository template, a repo handle must be provided.
If the token owner is not the repository owner, then the user option must be set to the repository owner (whether it is an user or organization account).
Example: render lowlighter/metrics repository
- uses: lowlighter/metrics@latest
with:
template: repository
user: lowlighter
repo: metrics
โน๏ธ Examples workflows
name: Example
uses: lowlighter/metrics@latest
with:
template: repository
filename: metrics.repository.svg
token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }}
user: lowlighter
repo: metrics
plugin_lines: yes
plugin_followup: yes
plugin_projects: yes
plugin_projects_repositories: lowlighter/metrics/projects/1