From 671f41d44a82e9b7a1effe51f867a98a3f11a069 Mon Sep 17 00:00:00 2001 From: plind-junior <59729252+plind-junior@users.noreply.github.com> Date: Tue, 7 Jul 2026 11:38:41 +0900 Subject: [PATCH] ci(gittensor): add impact card workflow and readme badge surfaces gittensor contributor-impact on the repo: a badge in the readme badge row (served by api.gittensor.io) and a scheduled workflow that runs matthewevans/gittensor-impact-action to render and publish the fuller dark/light impact cards as release assets. the third-party action is pinned to the v1.1.4 commit sha rather than a mutable tag, and the job opts into only contents: write with no ambient token scopes, so an upstream retag cannot change what runs in ci. --- .github/workflows/gittensor-impact.yml | 26 ++++++++++++++++++++++++++ README.md | 1 + 2 files changed, 27 insertions(+) create mode 100644 .github/workflows/gittensor-impact.yml diff --git a/.github/workflows/gittensor-impact.yml b/.github/workflows/gittensor-impact.yml new file mode 100644 index 00000000..c3f7c179 --- /dev/null +++ b/.github/workflows/gittensor-impact.yml @@ -0,0 +1,26 @@ +name: Gittensor Impact + +# renders the gittensor contributor-impact card and publishes it as release +# assets. runs weekly and on demand; github's image proxy caches the badge in +# the readme for a few hours, so more frequent runs would not change anything. +on: + schedule: + - cron: "0 14 * * 1" + workflow_dispatch: + +# no ambient token scopes — the one job below opts into exactly what it needs +permissions: {} + +jobs: + update: + runs-on: ubuntu-latest + permissions: + contents: write # publish the rendered svg cards to release assets + steps: + # third-party action pinned to the v1.1.4 commit sha, not a mutable tag, + # so a later upstream retag cannot silently change what runs in ci. + - uses: matthewevans/gittensor-impact-action@cc83f449b75cbfbd3f7c70f796ad79f0f1d5d593 # v1.1.4 + with: + accent-color: "#ff6a00" + neutral-color: "#85898b" + title: "${{ github.repository }} is part of the Gittensor community" diff --git a/README.md b/README.md index 53f1b6a5..730d7867 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ Python versions MIT licensed Follow @vouch_dev on X + Gittensor impact

> Agents should not start every session with amnesia — but they shouldn't get to write whatever they want either.