From ec71b03734fb85be993fbb3b82b7e11e5ed8e820 Mon Sep 17 00:00:00 2001 From: Parker Date: Thu, 19 Dec 2024 07:08:20 +0000 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index aac5ed5..8eec9bc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,15 +1,31 @@ +# Visit https://github.com/lowlighter/metrics#-documentation for full reference name: Metrics on: - # Schedule daily updates schedule: [{cron: "0 0 * * *"}] - # Run workflow when pushing on master/main + workflow_dispatch: push: {branches: ["master", "main"]} jobs: github-metrics: runs-on: ubuntu-latest - environment: - name: production permissions: contents: write steps: - - uses: packetparker/metrics@master + - uses: packetparker/metrics@maswer + with: + # Options + user: PacketParker + template: classic + base: header, activity, community, repositories, metadata + config_timezone: Atlantic/Reykjavik + plugin_languages: yes + plugin_languages_analysis_timeout: 15 + plugin_languages_analysis_timeout_repositories: 7.5 + plugin_languages_categories: markup, programming + plugin_languages_colors: github + plugin_languages_limit: 8 + plugin_languages_recent_categories: markup, programming + plugin_languages_recent_days: 14 + plugin_languages_recent_load: 300 + plugin_languages_sections: most-used + plugin_languages_threshold: 0% + plugin_traffic: yes