{"id":20513349,"url":"https://github.com/cheerz/poll_status","last_synced_at":"2026-04-22T10:02:27.670Z","repository":{"id":65159232,"uuid":"398241475","full_name":"cheerz/poll_status","owner":"cheerz","description":"Github action for polling status with timeout","archived":false,"fork":false,"pushed_at":"2021-08-27T18:57:12.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T09:38:46.986Z","etag":null,"topics":["github-action","kda","kubernetes"],"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/cheerz.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}},"created_at":"2021-08-20T10:37:22.000Z","updated_at":"2023-01-25T21:12:09.000Z","dependencies_parsed_at":"2023-01-05T04:53:04.742Z","dependency_job_id":null,"html_url":"https://github.com/cheerz/poll_status","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheerz%2Fpoll_status","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheerz%2Fpoll_status/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheerz%2Fpoll_status/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheerz%2Fpoll_status/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cheerz","download_url":"https://codeload.github.com/cheerz/poll_status/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242117716,"owners_count":20074438,"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":["github-action","kda","kubernetes"],"created_at":"2024-11-15T21:10:19.175Z","updated_at":"2026-04-22T10:02:22.622Z","avatar_url":"https://github.com/cheerz.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Polling for status with a timeout\n\nThis action makes a GET request to a given URL until the status is `complete` or `failed`\nUsed after launching an action that executes asynchronously and polling for that action's status\nInitially created for checking if a kubernetes deployment is complete\n\n## Inputs\n\n### `url`\n\nThe URL to poll\n\n### `timeout`\n\nTimeout before giving up in seconds\n\n### `interval`\n\nInterval between polling in seconds\n\n## Example usage\n```\nuses: cheerz/poll_status@v1\nwith:\n  url: \"https://www.example.com/deployments/1\"\n  timeout: 20\n  interval: 5\n```\n\nThis script expects a json response from the polling url in the following format:\n\n```\n{\n  status: \"complete\"/\"failed\"\n}\n```\n\nScript exit with 1 when status is `failed` and 0 when `complete`\nExit with 1 if timeout reached before receiving `failed` or `complete` as status","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheerz%2Fpoll_status","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcheerz%2Fpoll_status","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheerz%2Fpoll_status/lists"}