Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shubhansu-kr/ecofriendly-github
A github workflow setup to keep your contribution graph ever-green.
https://github.com/shubhansu-kr/ecofriendly-github
Last synced: about 1 month ago
JSON representation
A github workflow setup to keep your contribution graph ever-green.
- Host: GitHub
- URL: https://github.com/shubhansu-kr/ecofriendly-github
- Owner: shubhansu-kr
- Created: 2023-10-10T19:41:33.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-18T06:49:04.000Z (about 1 year ago)
- Last Synced: 2023-10-18T07:38:34.961Z (about 1 year ago)
- Language: JavaScript
- Size: 136 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# EcoFriendly Github
Github Workflow setup to keep your contribution graph green.
## Working
The workflow runner fetches a random quote and appends it to the quotes.txt file every 11 hours. The changes to the file is then commited and pushed recording a contribution keeping the graph green.
## Getting started
1. Generate a repository using this repo template.
![templateImg](./assets/Temlate.png)
2. After creating your repository, Go to `.github/workflows/node.js.yml` file.
![YML image](./assets/YML.png)
3. Replace the `YourUserNameHere` and `YourUserEmailHere` in line 25 and 26 with your github username and email.
4. Make sure you have enabled the read and write permission of workflow setting."Read and write permissions" are enabled in Settings -> Actions -> General -> Workflow permissions.
![Workflow Image](./assets/Workflowsetting.png)
5. Star this repository. Hehe. Follow [shubhansu-kr](https://github.com/shubhansu-kr).## Update
I have disabled the github actions for this repository to prevent it from populating my github graph. So if you fork this repository, you will notice that `workflows` folder is missing in the `.github` folder, which may cause confusion or discrepancy.
Solution: After forking the repository you can simply create `workflows` folder
in your cloned repository and place the `node.js.yml` inside it.
or
You can just go to this working example: ([Losttrack21/EcoFriendly-GitHub](https://github.com/Losttrack21/EcoFriendly-GitHub)) and generate from template there.Make sure your wrokflow is enabled. By default when you fork a repository the workflow is disabled by github actions. You will find the workflow in actions tab.