Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solves image save failure by github actions bot #11

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,38 +39,42 @@ anyone may be able to see the name of one or more private repositories.

![](https://raw.githubusercontent.com/rahul-jha98/github-stats-transparent/main/readme_images/Actions.png)

4. Create a new secret with the name `ACCESS_TOKEN` and paste the copied
4. Check if "Read and write permissions" are enabled in Settings -> Actions -> General -> Workflow permissions

<img src='readme_images/A5EEk.png' height='250px'/>

5. Create a new secret with the name `ACCESS_TOKEN` and paste the copied
personal access token as the value.

<img src='https://raw.githubusercontent.com/rahul-jha98/github-stats-transparent/main/readme_images/Token.png' height='250px'/>

5. If you want to ignore certain repos, add them (separated by commas) to a new
6. If you want to ignore certain repos, add them (separated by commas) to a new
secret—created as before—called `EXCLUDED`.

<img src='https://raw.githubusercontent.com/rahul-jha98/github-stats-transparent/main/readme_images/Exclude.png' height='250px'/>

6. If you want to ignore certain languages, add them (separated by commas) to a new secret called
7. If you want to ignore certain languages, add them (separated by commas) to a new secret called
`EXCLUDED_LANGS`.

7. By default the languages, stars, forks and repository views do not consider stats from
8. By default the languages, stars, forks and repository views do not consider stats from
public repositories that you have forked and contributed to. But if you want to count stats from
forked repositories also you can do so by creating a new secret called `COUNT_STATS_FROM_FORKS`.
For the value you can put any random value because the action only checks if the secret is set or not.

<img src='https://raw.githubusercontent.com/rahul-jha98/github-stats-transparent/main/readme_images/Forks.png' height='250px'/>

8. Go to the [Actions Page](../../actions?query=workflow%3A"Generate+Stats+Images") and press "Run
9. Go to the [Actions Page](../../actions?query=workflow%3A"Generate+Stats+Images") and press "Run
Workflow" on the right side of the screen to generate images for the first
time. The images will be periodically generated every hour, but they can be
manually regenerated by manually running the workflow.

9. Check out the images that have been created in the [`generated`](../output/generated)
10. Check out the images that have been created in the [`generated`](../output/generated)
folder in `output` branch.

10. Link back to this repository so that others can generate their own
11. Link back to this repository so that others can generate their own
statistics images.

11. Star this repo if you like it!
12. Star this repo if you like it!


<br>
Expand Down
Binary file added readme_images/A5EEk.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.