Skip to content

Latest commit

History

History
38 lines (29 loc) 路 1.61 KB

README.md

File metadata and controls

38 lines (29 loc) 路 1.61 KB

馃挕 Coding habits

The coding habits plugin display metrics based on your recent activity, such as active hours or languages recently used.

Charts version

Using more events will improve accuracy of these metrics, although it'll increase the number of GitHub requests used.

Active hours and days are computed through your commit history, while indent style is deduced from your recent diffs. Recent languages activity is also computed from your recent diffs, using github/linguist.

Use a full repo scope token to access private events.

By default, dates use Greenwich meridian (GMT/UTC). Be sure to set your timezone (see here for a list of supported timezones) for accurate metrics.

鈩癸笍 Examples workflows

鉃★笍 Available options for this plugin

- uses: lowlighter/metrics@latest
  with:
    # ... other options
    plugin_habits: yes
    plugin_habits_from: 200       # Use 200 events to compute habits
    plugin_habits_days: 14        # Keep only events from last 14 days
    plugin_habits_facts: yes      # Display facts section
    plugin_habits_charts: yes     # Display charts section
    config_timezone: Europe/Paris # Set timezone