56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
- name: Organization
|
|
uses: lowlighter/metrics@latest
|
|
with:
|
|
filename: metrics.organization.svg
|
|
user: github
|
|
token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }}
|
|
base: header, repositories
|
|
|
|
- name: Large display
|
|
uses: lowlighter/metrics@latest
|
|
with:
|
|
filename: metrics.large.svg
|
|
token: ${{ secrets.METRICS_TOKEN }}
|
|
config_display: large
|
|
|
|
- name: JSON metrics
|
|
if: ${{ success() || failure() }}
|
|
uses: lowlighter/metrics@latest
|
|
with:
|
|
filename: metrics.example.json
|
|
token: ${{ secrets.METRICS_TOKEN }}
|
|
config_output: json
|
|
|
|
- name: PNG metrics
|
|
if: ${{ success() || failure() }}
|
|
uses: lowlighter/metrics@latest
|
|
with:
|
|
filename: metrics.example.png
|
|
token: ${{ secrets.METRICS_TOKEN }}
|
|
config_output: png
|
|
|
|
- name: Presets
|
|
uses: lowlighter/metrics@latest
|
|
with:
|
|
filename: metrics.presets.svg
|
|
token: ${{ secrets.METRICS_TOKEN }}
|
|
base: header, repositories
|
|
config_presets: https://raw.githubusercontent.com/lowlighter/metrics/presets/lunar-red/preset.yaml
|
|
prod:
|
|
skip: true
|
|
test:
|
|
modes:
|
|
- web
|
|
|
|
- name: Plugin error example
|
|
uses: lowlighter/metrics@latest
|
|
with:
|
|
filename: metrics.plugin.error.svg
|
|
token: ${{ secrets.METRICS_TOKEN }}
|
|
base: ""
|
|
plugin_projects: yes
|
|
prod:
|
|
with:
|
|
plugins_errors_fatal: no
|
|
test:
|
|
skip: true |