name: "🧱 Core" cost: N/A categorie: core supports: - user - organization - repository inputs: # User account personal token # No additional scopes are needed unless you want to include private repositories metrics # Some plugins may also require additional scopes # ──────────────────────────────────────────────────────────────── # If you're only using plugins which don't really require a GitHub token, you may pass "NOT_NEEDED" as value token: description: GitHub Personal Token type: token required: true # GitHub username # Defaults to "token" owner user: description: GitHub username type: string default: "" # GitHub repository # Compute metrics for a repository instead ("user" being the repository owner) # Check https://github.com/lowlighter/metrics/blob/master/source/templates/repository/README.md for more informations repo: description: GitHub repository type: string default: "" # Set to "${{ github.token }}" or "${{ secrets.GITHUB_TOKEN }}" # GITHUB_TOKEN is a special auto-generated token restricted to current repository, which is used to push files in it committer_token: description: GitHub Token used to commit metrics type: token default: ${{ github.token }} # Branch used to commit rendered metrics committer_branch: description: Branch used to commit rendered metrics type: string default: "" # Defaults to your repository default branch # Rendered metrics output path, relative to repository's root filename: description: Rendered metrics output path type: string default: github-metrics.svg # Optimize SVG image to reduce its filesize # Some templates may not support this option optimize: description: SVG optimization type: boolean default: yes # Setup additional templates from remote repositories setup_community_templates: description: Additional community templates to setup type: array format: - comma-separated - /(?[-a-z0-9]+)[/](?[-a-z0-9]+)@(?[-a-z0-9]+):(?