Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uo1428/green-commits
Automatically keep GitHub commit status green.
https://github.com/uo1428/green-commits
auto-commit commits
Last synced: about 1 month ago
JSON representation
Automatically keep GitHub commit status green.
- Host: GitHub
- URL: https://github.com/uo1428/green-commits
- Owner: Uo1428
- License: mit
- Created: 2024-04-09T07:30:43.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-10-30T01:49:26.000Z (about 2 months ago)
- Last Synced: 2024-10-30T04:00:21.044Z (about 2 months ago)
- Topics: auto-commit, commits
- Homepage: https://patreon.com/uoaio
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐งถ Green Commits
Automatically keep GitHub commit status green.
> a commit a day keeps your girlfriend away. **changed to** a commit a day keeps your girlfriend from going away. ๐ข
```diff
+ Use this template or the official one
1. Go to .github/workflows/cy.yml in your repository
2. Remove the # in line 7, 8
3. Go to https://github.com/yourGithubUsername/green-commits/settings/secrets/actions
3.1. Create a secret named EMAIL with your email
3.2. Create a scret named NAME with your github username
4. Go to https://github.com/yourGithubUsername/green-commits/settings/actions and Give `Read and write` permissions to workflow
+ Enjoy the green Contribution Activity panel in your profile :D
```## ๐ Developer Instructions
-Click the **Use this template** button in the upper right corner to copy this GitHub repository
- Modify [lines 7 and 8 of the ci.yml file](https://github.com/IMXNOOBX/green-commits/blob/master/.github/workflows/ci.yml#L7-L8) to remove the preceding ` #` sign
- ~~Modify [lines 19, 20 of the ci.yml file](https://github.com/IMXNOOBX/green-commits/blob/master/.github/workflows/ci.yml#L19-L20) to your own GitHub Account and Nickname~~
- (Optional) You can do this by modifying [line 8 of the ci.yml file](https://github.com/IMXNOOBX/green-commits/blob/master/.github/workflows/ci.yml#L8) Adjust frequencyThe scheduled task syntax has 5 fields separated by spaces, each field representing a time unit.
```plain
โโโโโโโโโโโโโโโ minutes (0 - 59)
โ โโโโโโโโโโโโโโโ Hours (0 - 23)
โ โ โโโโโโโโโโโโโโโ Day (1 - 31)
โ โ โ โโโโโโโโโโโโโโโ Month (1 - 12 or JAN-DEC)
โ โ โ โ โโโโโโโโโโโโโโโ Week of the week (0 - 6 or SUN-SAT)
โ โ โ โ โ
โ โ โ โ โ
โ โ โ โ โ
* * * * *
```**Note**: Due to the limitation of GitHub Actions, if set to `* * * * *` , the actual execution frequency is once every 5 minutes.
## License && Credits
- Credits: [**justjavac**](https://github.com/justjavac)