Skip to content

Commit ee1abad

Browse files
committed
fix(ci): misplaced prod param [skip ci]
1 parent 12db875 commit ee1abad

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

.github/workflows/examples.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -474,14 +474,10 @@ jobs:
474474
- name: 🙋 Introduction - User introduction
475475
uses: lowlighter/metrics@master
476476
with:
477-
token: ${{ secrets.METRICS_TOKEN }}
478-
user: github
479-
base: header
480-
plugin_introduction: 'yes'
477+
token: ${{ secrets.METRICS_BOT_TOKEN }}
481478
plugins_errors_fatal: 'yes'
482479
output_action: none
483480
delay: 120
484-
token: ${{ secrets.METRICS_BOT_TOKEN }}
485481
if: ${{ success() || failure() }}
486482
- name: 🙋 Introduction - Repository introduction
487483
uses: lowlighter/metrics@master

source/app/metrics/metadata.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ metadata.template = async function({__templates, name, plugins, logger}) {
389389
` <tr><td colspan="2" align="center">${(meta.description ?? "").replaceAll("\n", "<br>")}</td></tr>`,
390390
` <tr>`,
391391
` <th rowspan="3">Supported features<br><sub><a href="metadata.yml">→ Full specification</a></sub></th>`,
392-
` <td>${Object.entries(compatibility).filter(([_, value]) => value).map(([id]) => `<a href="/source/plugins/${id}" title="${plugins[id].name}">${plugins[id].icon}</a>`).join(" ")}${meta.formats?.includes("markdown") ? "<code>✓ embed()</code>" : ""}</td>`,
392+
` <td>${Object.entries(compatibility).filter(([_, value]) => value).map(([id]) => `<a href="/source/plugins/${id}" title="${plugins[id].name}">${plugins[id].icon}</a>`).join(" ")}${meta.formats?.includes("markdown") ? " <code>✓ embed()</code>" : ""}</td>`,
393393
` </tr>`,
394394
` <tr>`,
395395
` <td>${[

source/plugins/introduction/examples.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
base: header
88
plugin_introduction: yes
99
prod:
10-
token: ${{ secrets.METRICS_BOT_TOKEN }}
10+
with:
11+
token: ${{ secrets.METRICS_BOT_TOKEN }}
1112

1213
- name: Repository introduction
1314
uses: lowlighter/metrics@latest

source/templates/markdown/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<tr><td colspan="2" align="center">A template capable of rendering markdown from a given template file.</td></tr>
55
<tr>
66
<th rowspan="3">Supported features<br><sub><a href="metadata.yml">→ Full specification</a></sub></th>
7-
<td><a href="/source/plugins/activity" title="📰 Recent activity">📰</a> <a href="/source/plugins/posts" title="✒️ Recent posts">✒️</a> <a href="/source/plugins/rss" title="🗼 Rss feed">🗼</a> <a href="/source/plugins/topics" title="📌 Starred topics">📌</a> <a href="/source/plugins/tweets" title="🐤 Latest tweets">🐤</a><code>✓ embed()</code></td>
7+
<td><a href="/source/plugins/activity" title="📰 Recent activity">📰</a> <a href="/source/plugins/posts" title="✒️ Recent posts">✒️</a> <a href="/source/plugins/rss" title="🗼 Rss feed">🗼</a> <a href="/source/plugins/topics" title="📌 Starred topics">📌</a> <a href="/source/plugins/tweets" title="🐤 Latest tweets">🐤</a> <code>✓ embed()</code></td>
88
</tr>
99
<tr>
1010
<td>👤 Users, 👥 Organizations</td>

0 commit comments

Comments
 (0)