Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.04 KB

README.md

File metadata and controls

27 lines (21 loc) · 1.04 KB

♐ Code snippet of the day

⚠️ When improperly configured, this plugin could display private code. If you work with sensitive data or company code, it is advised to keep this plugin disabled. Metrics and its authors cannot be held responsible for any resulting code leaks, use at your own risk.

Display a random code snippet from your recent activity history.

ℹ️ Examples workflows

➡️ Available options for this plugin

- uses: lowlighter/metrics@latest
  with:
    # ... other options
    plugin_code: yes
    plugin_code_lines: 12               # Only display snippets with less than 12 lines
    plugin_code_load: 100               # Fetch 100 events from activity
    plugin_code_visibility: public      # Only display snippets from public activity
    plugin_code_skipped: github/octocat # Skip github/octocat repository