{"id":18868878,"url":"https://github.com/venopyX/python-github-action-template","last_synced_at":"2025-04-14T15:31:04.172Z","repository":{"id":158416920,"uuid":"627352951","full_name":"venopyX/python-github-action-template","owner":"venopyX","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-13T10:51:42.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T01:43:39.438Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/venopyX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-04-13T09:38:49.000Z","updated_at":"2024-10-20T16:00:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"90506e9e-e0ca-4ea1-842a-cdacb31a1b71","html_url":"https://github.com/venopyX/python-github-action-template","commit_stats":null,"previous_names":["venopyx/python-github-action-template"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venopyX%2Fpython-github-action-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venopyX%2Fpython-github-action-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venopyX%2Fpython-github-action-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venopyX%2Fpython-github-action-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/venopyX","download_url":"https://codeload.github.com/venopyX/python-github-action-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248906401,"owners_count":21181172,"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":[],"created_at":"2024-11-08T05:15:05.872Z","updated_at":"2025-04-14T15:31:04.166Z","avatar_url":"https://github.com/venopyX.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Schedule a Python script with GitHub Actions\n\n**Watch the video tutorial:**\n\n[![Alt text](https://img.youtube.com/vi/PaGp7Vi5gfM/hqdefault.jpg)](https://youtu.be/PaGp7Vi5gfM)\n\nThis example shows how to run a Python script as cron job with GitHub Actions. It calls an API once a week (could be any schedule you want), logs the response in `status.log`, and automatically pushes the changes to this repo.\n\n- Implement your script in `main.py`\n- Inspect and configure cron job in GitHub Action `.github/workflows/actions.yml`\n- It can install and use third party packages from `requirements.txt`\n- Secret environment variables can be used. Set secrets in Settings/Secrets/Actions -\u003e 'New repository secret'. Use the same secret name inside `actions.yml` and `main.py`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FvenopyX%2Fpython-github-action-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FvenopyX%2Fpython-github-action-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FvenopyX%2Fpython-github-action-template/lists"}