- name: Contributors with contributions count
  uses: lowlighter/metrics@latest
  with:
    filename: metrics.plugin.contributors.contributions.svg
    token: ${{ secrets.METRICS_TOKEN }}
    base: ""
    template: repository
    repo: metrics
    plugin_contributors: yes
    plugin_contributors_contributions: yes

- name: Contributors by categories
  uses: lowlighter/metrics@latest
  with:
    filename: metrics.plugin.contributors.categories.svg
    token: ${{ secrets.METRICS_TOKEN }}
    base: ""
    template: repository
    repo: metrics
    plugin_contributors: yes
    plugin_contributors_sections: categories
    plugin_contributors_categories: |
      {
        "🧩 Plugins / 🖼️ templates":["source/plugins/**", "source/templates/**"],
        "📚 Documentation":["README.md", "**/README.md", "**/metadata.yml"],
        "💻 Code (other)":["source/**", "Dockerfile"]
      }
