{"id":16208228,"url":"https://github.com/oscard0m/octoherd-script-update-action-version-in-workflows","last_synced_at":"2025-03-19T08:30:42.938Z","repository":{"id":59900126,"uuid":"539887571","full_name":"oscard0m/octoherd-script-update-action-version-in-workflows","owner":"oscard0m","description":"Update workflows using a certain GitHub Action to a concrete version, i.e. actions/checkout@v{version_number}","archived":false,"fork":false,"pushed_at":"2025-02-15T00:43:02.000Z","size":345,"stargazers_count":1,"open_issues_count":10,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T23:55:24.860Z","etag":null,"topics":["octoherd-script"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oscard0m.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2022-09-22T08:55:47.000Z","updated_at":"2025-01-17T13:15:45.000Z","dependencies_parsed_at":"2024-06-16T21:20:49.975Z","dependency_job_id":"0bb3e347-60ad-452a-8164-13a8e40029a2","html_url":"https://github.com/oscard0m/octoherd-script-update-action-version-in-workflows","commit_stats":{"total_commits":11,"total_committers":2,"mean_commits":5.5,"dds":0.2727272727272727,"last_synced_commit":"f7d725b8ae363586571321c944e928da27018c1c"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscard0m%2Foctoherd-script-update-action-version-in-workflows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscard0m%2Foctoherd-script-update-action-version-in-workflows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscard0m%2Foctoherd-script-update-action-version-in-workflows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscard0m%2Foctoherd-script-update-action-version-in-workflows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oscard0m","download_url":"https://codeload.github.com/oscard0m/octoherd-script-update-action-version-in-workflows/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244389687,"owners_count":20444981,"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":["octoherd-script"],"created_at":"2024-10-10T10:15:50.861Z","updated_at":"2025-03-19T08:30:42.571Z","avatar_url":"https://github.com/oscard0m.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# octoherd-script-update-action-version-in-workflows\n\n\u003e Update workflows using a certain GitHub Action to a concrete version, i.e. actions/checkout@v{version_number}\n\n[![@latest](https://img.shields.io/npm/v/octoherd-script-update-action-version-in-workflows.svg)](https://www.npmjs.com/package/octoherd-script-update-action-version-in-workflows)\n[![Build Status](https://github.com/oscard0m/octoherd-script-update-action-version-in-workflows/workflows/Test/badge.svg)](https://github.com/oscard0m/octoherd-script-update-action-version-in-workflows/actions?query=workflow%3ATest+branch%3Amain)\n\n## Usage\n\nMinimal usage\n\n```js\nnpx octoherd-script-update-action-version-in-workflows \\\n        --actionName actions/checkout \\\n        --actionVersion v3\n```\n\nPass all options as CLI flags to avoid user prompts\n\n```js\nnpx octoherd-script-update-action-version-in-workflows \\\n  -T ghp_0123456789abcdefghjklmnopqrstuvwxyzA \\\n  -R \"oscard0m/*\" \\\n        --actionName actions/checkout \\\n        --actionVersion v3 \\\n        --workflow my-workflow.yml\n```\n\n## Options\n\n| option                       | type             | description                                                                                                                                                                                                                                 |\n| ---------------------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `--action-name`              | string           | **Required.** Name of the GitHub Action you want to update its version in your workflows                                                                                                                                                    |\n| `--action-version`           | string           | **Required.** Version you want to change of the selected GitHub Action                                                                                                                                                                      |\n| `--workflow`                 | string           | Name of the workflow you want to apply the changes. Defaults to \"\\*\"                                                                                                                                                                        |\n| `--octoherd-token`, `-T`     | string           | A personal access token ([create](https://github.com/settings/tokens/new?scopes=repo)). Script will create one if option is not set                                                                                                         |\n| `--octoherd-repos`, `-R`     | array of strings | One or multiple space-separated repositories in the form of `repo-owner/repo-name`. `repo-owner/*` will find all repositories for one owner. `*` will find all repositories the user has access to. Will prompt for repositories if not set |\n| `--octoherd-bypass-confirms` | boolean          | Bypass prompts to confirm mutating requests                                                                                                                                                                                                 |\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md)\n\n## About Octoherd\n\n[@octoherd](https://github.com/octoherd/) is project to help you keep your GitHub repositories in line.\n\n## License\n\n[ISC](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foscard0m%2Foctoherd-script-update-action-version-in-workflows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foscard0m%2Foctoherd-script-update-action-version-in-workflows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foscard0m%2Foctoherd-script-update-action-version-in-workflows/lists"}