You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0ddcda0
Browse filesBrowse the repository at this point in the historyBrowse files
* Upgrade gitstats-action version to v1.0.0
Updated the GitHub Action version from v0.1.1 to v1.0.0 in the README file for improved stability and features.
* Upgrade checkout action from v6 to v7
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
A GitHub Action that generates insightful visual reports from Git repositories using [gitstats](https://github.com/shenxianpeng/gitstats).
6
6
7
7
> [!TIP]
8
-
> Pin to a specific version for stability: `shenxianpeng/gitstats-action@v0.1.1`.
8
+
> Pin to a specific version for stability: `shenxianpeng/gitstats-action@v1.0.0`.
9
9
> Set up an [annotated tag](https://git-scm.com/book/en/v2/Git-Basics-Tagging)`v1` pointing to your latest release so users can use `@v1` for automatic minor updates.
10
10
11
11
## Quick Start
@@ -26,10 +26,10 @@ jobs:
26
26
gitstats:
27
27
runs-on: ubuntu-latest
28
28
steps:
29
-
- uses: actions/checkout@v6
29
+
- uses: actions/checkout@v7
30
30
with:
31
31
fetch-depth: 0
32
-
- uses: shenxianpeng/gitstats-action@v0.1.1
32
+
- uses: shenxianpeng/gitstats-action@v1.0.0
33
33
with:
34
34
deploy-to-pages: true
35
35
```
@@ -57,7 +57,7 @@ Anyone who sees the badge can click it to jump straight to your full GitStats re
57
57
**Customizing the badge** — every deploy also publishes a `badges/` directory with one pre-rendered badge per metric, so a different metric is just a different URL: `badges/commits.svg`, `badges/last-commit.svg` (date of the latest commit, e.g. `Aug 2026`), `badges/authors.svg`, `badges/files.svg`, `badges/lines.svg`. Label, color, and shape are controlled through the `config` input:
0 commit comments