├── .github ├── FUNDING.yml └── workflows │ ├── autocommit.yml │ └── pull_request_template.md ├── .gitignore ├── LAST_UPDATED ├── LICENSE ├── README.md └── screenshoot.png /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: mazipan 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: ['https://mazipan.space/support'] 13 | -------------------------------------------------------------------------------- /.github/workflows/autocommit.yml: -------------------------------------------------------------------------------- 1 | name: Auto commit 2 | 3 | on: 4 | 5 | push: 6 | branches: 7 | - master 8 | 9 | schedule: 10 | - cron: "0 */4 * * *" # See https://crontab.guru/#0_7,9,11_*_*_1,3 11 | 12 | jobs: 13 | auto_commit: 14 | runs-on: ubuntu-latest 15 | steps: 16 | - name: DEBUG 17 | run: echo "::debug::Ref = ${{github.ref}}" 18 | - uses: actions/checkout@v3 19 | with: 20 | persist-credentials: false 21 | fetch-depth: 0 22 | 23 | - name: Modify last update 24 | run: | 25 | d=`date '+%Y-%m-%dT%H:%M:%SZ'` 26 | echo $d > LAST_UPDATED 27 | 28 | - name: Commit changes 29 | run: | 30 | git config --local user.email "samardehmohamad@gmail.com" 31 | git config --local user.name "bugbounted" 32 | git add -A 33 | 34 | arr[0]="chore(bot): 😂 auto commit" 35 | arr[1]="chore(bot): 😱 auto commit" 36 | arr[2]="chore(bot): 👿 auto commit" 37 | arr[3]="chore(bot): 💩 auto commit" 38 | arr[4]="chore(bot): 🙏 auto commit" 39 | arr[5]="chore(bot): 🙈 auto commit" 40 | arr[6]="chore(bot): 🐐 auto commit" 41 | arr[7]="chore(bot): 🤖 auto commit" 42 | arr[8]="chore(bot): 🟩 auto commit" 43 | arr[9]="chore(bot): 👻 auto commit" 44 | 45 | rand=$[$RANDOM % ${#arr[@]}] 46 | 47 | git commit -m "${arr[$rand]}" 48 | 49 | - name: GitHub Push 50 | uses: ad-m/github-push-action@v0.6.0 51 | with: 52 | directory: "." 53 | github_token: ${{ secrets.TOKEN }} 54 | -------------------------------------------------------------------------------- /.github/workflows/pull_request_template.md: -------------------------------------------------------------------------------- 1 | ## 👋 Thank you for the PR! 2 | 3 | ### Description: 4 | 5 | Add short description 6 | 7 | ### Issue Reference 8 | 9 | Add issue reference 10 | 11 | ### Screenshoot 12 | 13 | Add screenshoot if you change the UI 14 | 15 | ### Minimum Support 16 | 17 | - [ ] Click 🌟 button to this repo 18 | - [ ] Follow the Author 19 | 20 | ### Consider to Support 21 | 22 | - 👉 🇮🇩 [Trakteer](https://trakteer.id/mazipan?utm_source=github) 23 | - 👉 🌍 [BuyMeACoffe](https://www.buymeacoffee.com/mazipan?utm_source=github) 24 | - 👉 🌍 [Paypal](https://www.paypal.me/mazipan?utm_source=github) 25 | - 👉 🌍 [Ko-Fi](https://ko-fi.com/mazipan) 26 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | lerna-debug.log* 8 | 9 | # Diagnostic reports (https://nodejs.org/api/report.html) 10 | report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json 11 | 12 | # Runtime data 13 | pids 14 | *.pid 15 | *.seed 16 | *.pid.lock 17 | 18 | # Directory for instrumented libs generated by jscoverage/JSCover 19 | lib-cov 20 | 21 | # Coverage directory used by tools like istanbul 22 | coverage 23 | *.lcov 24 | 25 | # nyc test coverage 26 | .nyc_output 27 | 28 | # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) 29 | .grunt 30 | 31 | # Bower dependency directory (https://bower.io/) 32 | bower_components 33 | 34 | # node-waf configuration 35 | .lock-wscript 36 | 37 | # Compiled binary addons (https://nodejs.org/api/addons.html) 38 | build/Release 39 | 40 | # Dependency directories 41 | node_modules/ 42 | jspm_packages/ 43 | 44 | # TypeScript v1 declaration files 45 | typings/ 46 | 47 | # TypeScript cache 48 | *.tsbuildinfo 49 | 50 | # Optional npm cache directory 51 | .npm 52 | 53 | # Optional eslint cache 54 | .eslintcache 55 | 56 | # Microbundle cache 57 | .rpt2_cache/ 58 | .rts2_cache_cjs/ 59 | .rts2_cache_es/ 60 | .rts2_cache_umd/ 61 | 62 | # Optional REPL history 63 | .node_repl_history 64 | 65 | # Output of 'npm pack' 66 | *.tgz 67 | 68 | # Yarn Integrity file 69 | .yarn-integrity 70 | 71 | # dotenv environment variables file 72 | .env 73 | .env.test 74 | 75 | # parcel-bundler cache (https://parceljs.org/) 76 | .cache 77 | 78 | # Next.js build output 79 | .next 80 | 81 | # Nuxt.js build / generate output 82 | .nuxt 83 | dist 84 | 85 | # Gatsby files 86 | .cache/ 87 | # Comment in the public line in if your project uses Gatsby and *not* Next.js 88 | # https://nextjs.org/blog/next-9-1#public-directory-support 89 | # public 90 | 91 | # vuepress build output 92 | .vuepress/dist 93 | 94 | # Serverless directories 95 | .serverless/ 96 | 97 | # FuseBox cache 98 | .fusebox/ 99 | 100 | # DynamoDB Local files 101 | .dynamodb/ 102 | 103 | # TernJS port file 104 | .tern-port 105 | -------------------------------------------------------------------------------- /LAST_UPDATED: -------------------------------------------------------------------------------- 1 | 2025-06-10T05:45:47Z 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 Irfan Maulana 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # auto-commit 2 | 3 | 🌳 Making green your Github stats, powered by [Github Actions](https://github.com/features/actions) 4 | 5 | [![Auto commit](https://github.com/mazipan/auto-commit/workflows/Auto%20commit/badge.svg)](https://github.com/mazipan/auto-commit/actions?query=workflow%3A%22Auto+commit%22) 6 | 7 | ![](screenshoot.png) 8 | 9 | ## Make it your own 10 | 11 | - Create your own repo with click "**Use this template**" button (forked repo will not work) 12 | 13 | Or just do in the manual way: 14 | 15 | - Create your own repo 16 | - Copy file `.github/workflows/autocommit.yml` and `LAST_UPDATED` to your repo 17 | - Change the `email` and `name` information on file [autocommit.yml, line 29 and 30](https://github.com/mazipan/auto-commit/blob/master/.github/workflows/autocommit.yml#L29) 18 | - Change the scheduling time on file [autocommit.yml, line 10](https://github.com/mazipan/auto-commit/blob/master/.github/workflows/autocommit.yml#L10). You can use [crontab.guru](https://crontab.guru/) if you are not familiar with the cron schedule string. For first time, you can try to run it in every hour with string `1 * * * *` . 19 | - Consider to support me, at least click the 🌟 button 20 | 21 | ## Article (in Bahasa Indonesia) 22 | 23 | - https://mazipan.space/membuat-commit-otomatis-ke-github/ 24 | 25 | ## Repo using this auto-commit 26 | 27 | - You can add your repo here 28 | 29 | 30 | ## Credits 31 | 32 | - [Github Actions](https://github.com/features/actions) 33 | - [ad-m/github-push-action](https://github.com/ad-m/github-push-action) 34 | 35 | ## Consider to Support 36 | 37 | - 👉 🇮🇩 [Trakteer](https://trakteer.id/mazipan?utm_source=github) 38 | - 👉 🌍 [BuyMeACoffe](https://www.buymeacoffee.com/mazipan?utm_source=github) 39 | - 👉 🌍 [Paypal](https://www.paypal.me/mazipan?utm_source=github) 40 | - 👉 🌍 [Ko-Fi](https://ko-fi.com/mazipan) 41 | 42 | --- 43 | 44 | © 2020 Crafted by Irfan Maulana 45 | 46 | -------------------------------------------------------------------------------- /screenshoot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bugbounted/auto-commit/573341988563f89d8870df1793cfd7cd3b99b2f5/screenshoot.png --------------------------------------------------------------------------------