Skip to content

Commit 153cf63

Browse files
committed
Fix secret name
1 parent 83d70e2 commit 153cf63

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ For more information on inaccuracies, see issue
9797
workflow](https://github.com/jstrieb/github-stats/blob/master/.github/workflows/main.yml))
9898
called `EXCLUDE_FORKED_REPOS` with a value of `true`.
9999
- To generate statistics for a GitHub organization, add a new secret called
100-
`GITHUB_ORG` with the name of the organization. Note that when this is set,
100+
`ORGANIZATION_NAME` with the name of the organization. Note that when this is set,
101101
the statistics will be for the organization and not the user. Also, the
102102
`total_contributions`, `lines_changed`, and `views` statistics are not
103103
displayed for organizations.

generate_images.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ async def main() -> None:
113113
user = os.getenv("GITHUB_ACTOR")
114114
if user is None:
115115
raise RuntimeError("Environment variable GITHUB_ACTOR must be set.")
116-
org = os.getenv("GITHUB_ORG")
116+
org = os.getenv("ORGANIZATION_NAME")
117117
exclude_repos = os.getenv("EXCLUDED")
118118
excluded_repos = (
119119
{x.strip() for x in exclude_repos.split(",")} if exclude_repos else None

0 commit comments

Comments
 (0)