fix github metrics workflow for org repo (#217)

This commit is contained in:
Marc Chan
2026-05-01 20:49:22 +08:00
committed by GitHub
parent 913a6c3ea7
commit 1d6d86fa69
+4 -1
View File
@@ -33,8 +33,11 @@ jobs:
committer_token: ${{ secrets.GITHUB_TOKEN }}
# Use the repository template (per-repo metrics, not user metrics).
base: ''
# Organization-owned repositories must be targeted explicitly, otherwise
# lowlighter/metrics infers the token owner and treats the target as an org.
template: repository
user: nexu-io
repo: open-design
# Plugins. Anything that requires a personal token will silently no-op
# without METRICS_TOKEN — the rest still produce a useful SVG.