|
1 |
| -[] |
| 1 | +- name: 🧱 Core - 📗 Classic template |
| 2 | + uses: lowlighter/metrics@latest |
| 3 | + with: |
| 4 | + token: MOCKED_TOKEN |
| 5 | + base: header, repositories |
| 6 | + plugin_lines: 'yes' |
| 7 | +- name: 🧱 Core - 📘 Repository template |
| 8 | + uses: lowlighter/metrics@latest |
| 9 | + with: |
| 10 | + template: repository |
| 11 | + token: MOCKED_TOKEN |
| 12 | + user: lowlighter |
| 13 | + repo: metrics |
| 14 | + plugin_lines: 'yes' |
| 15 | + plugin_followup: 'yes' |
| 16 | + plugin_projects: 'yes' |
| 17 | + plugin_projects_repositories: lowlighter/metrics/projects/1 |
| 18 | +- name: 🧱 Core - 📙 Terminal template |
| 19 | + uses: lowlighter/metrics@latest |
| 20 | + with: |
| 21 | + template: terminal |
| 22 | + token: MOCKED_TOKEN |
| 23 | + base: header, metadata |
| 24 | +- name: 🧱 Core - 📒 Markdown template |
| 25 | + uses: lowlighter/metrics@latest |
| 26 | + with: |
| 27 | + template: markdown |
| 28 | + markdown: metrics.markdown.template.md |
| 29 | + config_output: markdown |
| 30 | + token: MOCKED_TOKEN |
| 31 | +- name: 🧱 Core - 📒 Markdown template (with plugins) |
| 32 | + uses: lowlighter/metrics@latest |
| 33 | + with: |
| 34 | + template: markdown |
| 35 | + markdown: >- |
| 36 | + https://raw.githubusercontent.com/lowlighter/metrics/master/source/templates/markdown/example.md |
| 37 | + config_output: markdown |
| 38 | + plugin_activity: 'yes' |
| 39 | + plugin_activity_limit: 7 |
| 40 | + plugin_activity_days: 0 |
| 41 | + plugin_activity_filter: issue, pr, release, fork, review, ref/create |
| 42 | + plugin_posts: 'yes' |
| 43 | + plugin_posts_source: dev.to |
| 44 | + plugin_posts_descriptions: 'yes' |
| 45 | + plugin_posts_covers: 'yes' |
| 46 | + plugin_posts_limit: 2 |
| 47 | + plugin_rss: 'yes' |
| 48 | + plugin_rss_source: https://news.ycombinator.com/rss |
| 49 | + plugin_rss_limit: 4 |
| 50 | + plugin_tweets: 'yes' |
| 51 | + plugin_tweets_token: MOCKED_TOKEN |
| 52 | + plugin_tweets_user: github |
| 53 | + plugin_tweets_attachments: 'yes' |
| 54 | + plugin_tweets_limit: 2 |
| 55 | + plugin_topics: 'yes' |
| 56 | + plugin_topics_limit: 24 |
| 57 | + plugin_isocalendar: 'yes' |
| 58 | + plugin_languages: 'yes' |
| 59 | + token: MOCKED_TOKEN |
| 60 | +- name: 🧱 Core - 📒 Markdown template (pdf output) |
| 61 | + uses: lowlighter/metrics@latest |
| 62 | + with: |
| 63 | + template: markdown |
| 64 | + markdown: >- |
| 65 | + https://raw.githubusercontent.com/lowlighter/metrics/master/source/templates/markdown/example.pdf.md |
| 66 | + config_output: markdown-pdf |
| 67 | + plugin_rss: 'yes' |
| 68 | + plugin_rss_source: https://news.ycombinator.com/rss |
| 69 | + plugin_rss_limit: 4 |
| 70 | + plugin_isocalendar: 'yes' |
| 71 | + config_twemoji: 'yes' |
| 72 | + config_padding: 5% |
| 73 | + token: MOCKED_TOKEN |
| 74 | +- name: 🧱 Core - 📕 Community templates |
| 75 | + uses: lowlighter/metrics@latest |
| 76 | + with: |
| 77 | + token: MOCKED_TOKEN |
| 78 | + template: '@classic' |
| 79 | + setup_community_templates: lowlighter/metrics@master:classic |
| 80 | + modes: |
| 81 | + - action |
| 82 | +- name: 🧱 Core - Plugin error example |
| 83 | + uses: lowlighter/metrics@latest |
| 84 | + with: |
| 85 | + token: MOCKED_TOKEN |
| 86 | + plugin_projects: 'yes' |
| 87 | + skip: true |
| 88 | +- name: 🧱 Core - Organization |
| 89 | + uses: lowlighter/metrics@latest |
| 90 | + with: |
| 91 | + user: github |
| 92 | + token: MOCKED_TOKEN |
| 93 | + base: header, repositories |
| 94 | +- name: 🧱 Core - Large display |
| 95 | + uses: lowlighter/metrics@latest |
| 96 | + with: |
| 97 | + token: MOCKED_TOKEN |
| 98 | + config_display: large |
| 99 | +- name: 🧱 Core - JSON metrics |
| 100 | + if: ${{ success() || failure() }} |
| 101 | + uses: lowlighter/metrics@latest |
| 102 | + with: |
| 103 | + token: MOCKED_TOKEN |
| 104 | + config_output: json |
| 105 | +- name: 🧱 Core - PNG metrics |
| 106 | + if: ${{ success() || failure() }} |
| 107 | + uses: lowlighter/metrics@latest |
| 108 | + with: |
| 109 | + token: MOCKED_TOKEN |
| 110 | + config_output: png |
0 commit comments