{"id":21827082,"url":"https://github.com/waterlemons2k/scheduled-workflow-activity-action","last_synced_at":"2025-07-04T00:05:14.083Z","repository":{"id":154988719,"uuid":"628510799","full_name":"WaterLemons2k/scheduled-workflow-activity-action","owner":"WaterLemons2k","description":"With this GitHub Action, scheduled workflow won't be disabled even if there's no recent activity in the repository.","archived":false,"fork":false,"pushed_at":"2025-01-26T08:42:45.000Z","size":57,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-04T00:03:23.650Z","etag":null,"topics":["actions","automation","cron","cronjob","github","github-action","github-actions","schedule","trigger","workflow","workflows"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/WaterLemons2k.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},"funding":{"custom":"https://afdian.com/a/WaterLemons2k"}},"created_at":"2023-04-16T07:02:52.000Z","updated_at":"2025-01-26T08:42:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"f546e20f-35bc-4567-91b6-48a85d722b3c","html_url":"https://github.com/WaterLemons2k/scheduled-workflow-activity-action","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/WaterLemons2k/scheduled-workflow-activity-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WaterLemons2k%2Fscheduled-workflow-activity-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WaterLemons2k%2Fscheduled-workflow-activity-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WaterLemons2k%2Fscheduled-workflow-activity-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WaterLemons2k%2Fscheduled-workflow-activity-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WaterLemons2k","download_url":"https://codeload.github.com/WaterLemons2k/scheduled-workflow-activity-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WaterLemons2k%2Fscheduled-workflow-activity-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263421884,"owners_count":23464046,"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","automation","cron","cronjob","github","github-action","github-actions","schedule","trigger","workflow","workflows"],"created_at":"2024-11-27T18:12:09.009Z","updated_at":"2025-07-04T00:05:14.013Z","avatar_url":"https://github.com/WaterLemons2k.png","language":"Shell","funding_links":["https://afdian.com/a/WaterLemons2k"],"categories":[],"sub_categories":[],"readme":"# Keep scheduled workflow activity\n\nWith this GitHub Action, scheduled workflow won't be disabled even if there's no recent activity in the repository.\n\nEnglish | [简体中文](README.zh-CN.md)\n\n## Why\n\nIn GitHub, scheduled workflows are automatically disabled when no repository activity has occurred in 60 days.\n\nWhen approaching 60 days, it will show:\n\n\u003e This workflow will be disabled soon because there's no recent activity in the repository.\n\n![disabled-soon](img/disabled-soon.png)\n\nAfter 60 days, it will show:\n\n\u003e This scheduled workflow is disabled because there hasn't been activity in this repository for at least 60 days.\n\n![disabled](img/disabled.png)\n\n## Usage\n\n### GitHub Action\n\n```yml\nname: Keep scheduled workflow activity\n\non:\n  schedule:\n    - cron: '0 0 * * *' # 00:00 UTC every day\n\njobs:\n  keep-scheduled-workflow-activity:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Keep scheduled workflow activity\n        uses: WaterLemons2k/scheduled-workflow-activity-action@v1\n```\n\n### Reusable workflow\n\n```yml\nname: Keep scheduled workflow activity\n\non:\n  schedule:\n    - cron: '0 0 * * *' # 00:00 UTC every day\n\njobs:\n  keep-scheduled-workflow-activity:\n    uses: WaterLemons2k/scheduled-workflow-activity-action/.github/workflows/reusable.yml@v1\n```\n\n## Inputs\n\nAll inputs are optional.\n\n| Input       | Description                      | Default               |\n| ----------- | -------------------------------- | --------------------- |\n| `token`     | Access token for the GitHub API. | `${{ github.token }}` |\n| `workflows` | Workflows to keep activity.      | The workflow          |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaterlemons2k%2Fscheduled-workflow-activity-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwaterlemons2k%2Fscheduled-workflow-activity-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwaterlemons2k%2Fscheduled-workflow-activity-action/lists"}