{"id":16820025,"url":"https://github.com/tsrberry/unstable-commands","last_synced_at":"2025-03-22T03:31:36.263Z","repository":{"id":184930025,"uuid":"672604653","full_name":"TSRBerry/unstable-commands","owner":"TSRBerry","description":"A GitHub Action to retry commands if weird things happen.","archived":false,"fork":false,"pushed_at":"2024-06-07T07:17:29.000Z","size":635,"stargazers_count":1,"open_issues_count":6,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T07:43:16.587Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/TSRBerry.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}},"created_at":"2023-07-30T16:40:30.000Z","updated_at":"2024-10-11T19:59:44.000Z","dependencies_parsed_at":"2023-10-03T04:09:21.766Z","dependency_job_id":"c518634c-5511-4890-8c2f-062245dc29ca","html_url":"https://github.com/TSRBerry/unstable-commands","commit_stats":null,"previous_names":["tsrberry/unstable-commands"],"tags_count":8,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TSRBerry%2Funstable-commands","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TSRBerry%2Funstable-commands/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TSRBerry%2Funstable-commands/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TSRBerry%2Funstable-commands/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TSRBerry","download_url":"https://codeload.github.com/TSRBerry/unstable-commands/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244902929,"owners_count":20529114,"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-10-13T10:55:21.415Z","updated_at":"2025-03-22T03:31:35.881Z","avatar_url":"https://github.com/TSRBerry.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unstable commands\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/TSRBerry/unstable-commands/actions\"\u003e\n    \u003cimg alt=\"unstable-commands status\" src=\"https://github.com/TSRBerry/unstable-commands/workflows/Test/badge.svg\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nA GitHub Action to retry commands if weird things happen.\n\n## Inputs\n\n### `commands`\n\n**Required**:\nThe commands to run.\nUse this like the `run` keyword for [steps](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun).\n\n### `timeout-minutes`\n\n**Required**:\nMaximum number of minutes to wait for the commands to finish execution.\nUse this like the `timeout-minutes` keyword for [steps](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepstimeout-minutes).\n\n### `retry-codes`\n\n**Required**:\nA comma-separated value containing the exit codes which should cause a retry.\n\n### `shell`\n\n**Optional**:\nThe shell to use to run the commands.\nUse this like the `shell` keyword for [steps](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell).\n\n**Default**: `\"default-shell\"`.\n\n### `working-directory`\n\n**Optional**:\nThe working directory where the commands are executed in.\nUse this like the `working-directory` keyword for [steps](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsworking-directory).\n\n**Default**: `${{ github.workspace }}`.\n\n### `max-retries`\n\n**Optional**:\nMaximum amount of times the specified commands should be tried before giving up.\n\n**Default**: `\"3\"`.\n\n## Example usage\n\n```yaml\nuses: TSRBerry/unstable-commands@v1\nwith:\n  commands: |\n    echo \"Hello!\"\n    sleep 2m\n    echo \"Bye!\"\n  timeout-minutes: \"3\"\n  retry-codes: \"1,2,139\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsrberry%2Funstable-commands","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsrberry%2Funstable-commands","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsrberry%2Funstable-commands/lists"}