The personal finance app for everyone (by everyone)
Ruby
Add Gittensor stats
Juan José Matab05105722b77
diff --git a/.github/workflows/gittensor-impact.yml b/.github/workflows/gittensor-impact.ymlnew file mode 100644index 0000000000..64bec04337--- /dev/null+++ b/.github/workflows/gittensor-impact.yml@@ -0,0 +1,32 @@+name: Gittensor Impact Report++on:+ schedule:+ # Refresh daily at 14:00 UTC.+ - cron: "0 14 * * *"+ workflow_dispatch:+ inputs:+ since:+ description: "Git date window for the report"+ default: "30 days ago"+ required: true++permissions:+ contents: write++jobs:+ refresh:+ name: Refresh Gittensor impact assets+ if: github.repository == 'we-promise/sure'+ runs-on: ubuntu-latest+ timeout-minutes: 10+ steps:+ - uses: matthewevans/gittensor-impact-action@v1+ with:+ repo: we-promise/sure+ since: ${{ inputs.since || '30 days ago' }}+ publish-mode: branch+ asset-branch: gittensor-impact-assets+ title: "Sure is part of the Gittensor community"+ accent-color: "#ff6a00"+ neutral-color: "#85898b"\ No newline at end of filediff --git a/README.md b/README.mdindex 8d252ace19..0f424f2f90 100644--- a/README.md+++ b/README.md@@ -120,3 +120,13 @@ an [AGPLv3 license](https://github.com/we-promise/sure/blob/main/LICENSE).- "Sure" is not, and refers to this community fork.++<p align="center">+ <a href="https://gittensor.io/miners/repository?name=we-promise%2Fsure">+ <picture>+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/phase-rs/phase/gittensor-impact-assets/gittensor-impact-dark.svg">+ <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/phase-rs/phase/gittensor-impact-assets/gittensor-impact-light.svg">+ <img src="https://raw.githubusercontent.com/phase-rs/phase/gittensor-impact-assets/gittensor-impact-light.svg" alt="Gittensor contributor impact for phase.rs" width="600">+ </picture>+ </a>+</p>