{"id":16111804,"url":"https://github.com/cliffano/command-loop-action","last_synced_at":"2026-01-19T13:02:12.341Z","repository":{"id":237753229,"uuid":"795176497","full_name":"cliffano/command-loop-action","owner":"cliffano","description":"GitHub Action for running a shell command in a loop against a list of items","archived":false,"fork":false,"pushed_at":"2025-11-04T12:33:08.000Z","size":46,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-04T13:14:42.185Z","etag":null,"topics":["github-action","shell-command"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/cliffano.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-05-02T18:22:43.000Z","updated_at":"2025-11-04T12:33:13.000Z","dependencies_parsed_at":"2024-05-21T10:12:43.258Z","dependency_job_id":"e14af947-6688-4dd5-9387-7753f3ed8cd5","html_url":"https://github.com/cliffano/command-loop-action","commit_stats":null,"previous_names":["cliffano/matrix-shell-action","cliffano/command-loop-action"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/cliffano/command-loop-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliffano%2Fcommand-loop-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliffano%2Fcommand-loop-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliffano%2Fcommand-loop-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliffano%2Fcommand-loop-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cliffano","download_url":"https://codeload.github.com/cliffano/command-loop-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliffano%2Fcommand-loop-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28568833,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T12:50:50.164Z","status":"ssl_error","status_checked_at":"2026-01-19T12:50:42.704Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","shell-command"],"created_at":"2024-10-09T19:45:34.835Z","updated_at":"2026-01-19T13:02:12.315Z","avatar_url":"https://github.com/cliffano.png","language":"Makefile","readme":"\u003cimg align=\"right\" src=\"https://raw.github.com/cliffano/command-loop-action/master/avatar.jpg\" alt=\"Avatar\"/\u003e\n\n[![Build Status](https://github.com/cliffano/command-loop-action/workflows/CI/badge.svg)](https://github.com/cliffano/command-loop-action/actions?query=workflow%3ACI)\n[![Security Status](https://snyk.io/test/github/cliffano/command-loop-action/badge.svg)](https://snyk.io/test/github/cliffano/command-loop-action)\n\u003cbr/\u003e\n\nCommand Loop GitHub Action\n--------------------------\n\nA simple GitHub Action for running a shell command in a loop against a list of items.\n\nThe items are comma and/or space-separated strings. Each item can be referenced in the command using `$ITEM`.\n\nUsage\n-----\n\nLooping through a space-separated list of items:\n\n    jobs:\n      build:\n        steps:\n          - name: 'Count from 1 to 10 with space-separated items'\n            uses: cliffano/command-loop-action@main\n            with:\n              items: '1 2 3 4 5 6 7 8 9 10'\n              command: 'echo \"Count $ITEM\"'\n\nLooping through a comma-separated list of items:\n\n    jobs:\n      build:\n        steps:\n          - name: 'Count from 1 to 10 with comma-separated items'\n            uses: cliffano/command-loop-action@main\n            with:\n              items: '1,2,3,4,5,6,7,8,9,10'\n              command: 'echo \"Count $ITEM\"'\n\nLooping through a comma and space-separated list of items:\n\n    jobs:\n      build:\n        steps:\n          - name: 'Count from 1 to 10 with comma and space-separated items'\n            uses: cliffano/command-loop-action@main\n            with:\n              items: '1, 2, 3, 4, 5, 6, 7, 8, 9, 10'\n              command: 'echo \"Count $ITEM\"'\n\nLooping through a list of items from an environment variable:\n\n    env:\n      NUMBERS: '1, 2, 3, 4, 5, 6, 7, 8, 9, 10'\n    jobs:\n      build:\n        steps:\n          - name: 'Count from 1 to 10 with items from an environment variable'\n            uses: cliffano/command-loop-action@main\n            with:\n              items: ${{ env.NUMBERS }}\n              command: 'echo \"Count $ITEM\"'\n\nLooping through a list of items with custom delimiters:\n\n    jobs:\n      build:\n        steps:\n          - name: 'Count from 1 to 10 with colon-separated items'\n            uses: cliffano/command-loop-action@main\n            with:\n              items: '1:2:3:4:5:6:7:8:9:10'\n              command: 'echo \"Count $ITEM\"'\n              delimiters: ':'\n\nConfiguration\n-------------\n\n| Input | Type | Description | Required | Default | Example |\n|-------|------|-------------|----------|---------|---------|\n| items | string | Comma and/or space-separated list of items, or custom delimiters | Yes | - | `1 2 3 4 5 6 7 8 9 10` |\n| command | string | Shell command to run in a loop, each run can access an item from the list via $ITEM | Yes | - |  `echo \"Count $ITEM\"` |\n| delimiters | string | Items string delimiters, separated by pipe character | No | `, \\| \\|,` | `:` |\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcliffano%2Fcommand-loop-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcliffano%2Fcommand-loop-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcliffano%2Fcommand-loop-action/lists"}