mirror of
https://github.com/tiennm99/ghglance.git
synced 2026-10-11 03:13:20 +00:00
feat: flip include-forks / include-private defaults to true
Most users reach for ghstats to show their real activity. Making the two visibility toggles opt-out rather than opt-in gives accurate stats out of the box. - -include-forks false → true - -include-private false → true - include_forks input false → true - include_private input false → true Private-repo data silently no-ops when the token lacks repo scope, so the default is safe for default github.token runs — it just won't surface more than read:user already allows. Users who want the old public-only behavior pass -include-private=false or set the Action input to "false".
This commit is contained in:
1 parent
a02d27511a
commit
d3fc27f33f
4 files changed
+17
-15
No files matched your search
+2
-2
@@ -13,8 +13,8 @@ themes="${INPUT_THEMES:-dracula}"
|
||||
tz="${INPUT_TZ:-UTC}"
|
||||
top_repos="${INPUT_TOP_REPOS:-0}"
|
||||
commits_per_repo="${INPUT_COMMITS_PER_REPO:-500}"
|
||||
include_forks="${INPUT_INCLUDE_FORKS:-false}"
|
||||
include_private="${INPUT_INCLUDE_PRIVATE:-false}"
|
||||
include_forks="${INPUT_INCLUDE_FORKS:-true}"
|
||||
include_private="${INPUT_INCLUDE_PRIVATE:-true}"
|
||||
commit_changes="${INPUT_COMMIT_CHANGES:-false}"
|
||||
commit_message="${INPUT_COMMIT_MESSAGE:-chore: update ghstats cards}"
|
||||
commit_branch="${INPUT_COMMIT_BRANCH:-}"
|
||||
|
||||
Reference in new issue
Block a user