{"id":21177674,"url":"https://github.com/iflycn/autogreen","last_synced_at":"2025-07-09T22:30:49.831Z","repository":{"id":37303981,"uuid":"337839347","full_name":"iflycn/autogreen","owner":"iflycn","description":"Auto Green - A commit a day keeps your girlfriend away","archived":false,"fork":false,"pushed_at":"2025-07-09T01:54:36.000Z","size":108,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-09T02:48:28.142Z","etag":null,"topics":["actions","yaml"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iflycn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-02-10T20:03:19.000Z","updated_at":"2025-07-09T01:54:40.000Z","dependencies_parsed_at":"2023-10-01T04:01:14.970Z","dependency_job_id":"6b2bf77d-e8b9-4df7-8c2e-d0299022080d","html_url":"https://github.com/iflycn/autogreen","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iflycn/autogreen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iflycn%2Fautogreen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iflycn%2Fautogreen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iflycn%2Fautogreen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iflycn%2Fautogreen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iflycn","download_url":"https://codeload.github.com/iflycn/autogreen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iflycn%2Fautogreen/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264504573,"owners_count":23618825,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","yaml"],"created_at":"2024-11-20T17:16:54.913Z","updated_at":"2025-07-09T22:30:49.582Z","avatar_url":"https://github.com/iflycn.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Auto Green\nA commit a day keeps your girlfriend away.\n\n## GitHub Actions\n### YAML\nYAML is a human-readable data-serialization language. It is commonly used for configuration files and in applications where data is being stored or transmitted.\n``` yaml\nname: Auto-Green\n\non:\n  workflow_dispatch:\n    inputs:\n      log:\n        description: \"Commit Log\"\n        required: true\n        default: \"a commit a day keeps your girlfriend away\"\n  schedule:\n    - cron: \"0 0 * * 0-5\"\n\njobs:\n  autogreen:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: Pull\n        run: |\n          git config --local user.name \"${{ github.actor }}\"\n          git config --local user.email \"${{ github.actor }}@gmail.com\"\n          git remote set-url origin https://${{ github.repository_owner }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}\n          git pull --rebase\n\n      - name: Commit (default)\n        if: github.event.inputs.log == 0\n        run: git commit --allow-empty -m \"a commit a day keeps your girlfriend away\"\n\n      - name: Commit (input)\n        if: github.event.inputs.log != 0\n        run: git commit --allow-empty -m \"${{ github.event.inputs.log }}\"\n\n      - name: Push\n        run: git push\n```\n### Manual Event\nUse the `workflow_dispatch` event to manually trigger workflow runs. When the workflow runs, access the input values in the `github.event.inputs` context.\n### Scheduled Event\nUse the `schedule` event to trigger a workflow at a scheduled time. Cron syntax has five fields separated by a space, and each field represents a unit of time.\n```\n┌───────────── minute (0 - 59)\n│ ┌───────────── hour (0 - 23)\n│ │ ┌───────────── day of the month (1 - 31)\n│ │ │ ┌───────────── month (1 - 12 or JAN-DEC)\n│ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)\n│ │ │ │ │                                   \n│ │ │ │ │\n│ │ │ │ │\n* * * * *\n```\nYou can use [crontab guru](https://crontab.guru/) to help generate your cron syntax and confirm what time it will run.\n\n## GitHub Docs\n- [https://docs.github.com/en/actions](https://docs.github.com/en/actions)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiflycn%2Fautogreen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiflycn%2Fautogreen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiflycn%2Fautogreen/lists"}