{"id":16935984,"url":"https://github.com/knu/update-tools","last_synced_at":"2025-08-10T06:39:14.645Z","repository":{"id":208385803,"uuid":"627251605","full_name":"knu/update-tools","owner":"knu","description":"Update Tools Action for GitHub Actions","archived":false,"fork":false,"pushed_at":"2024-03-22T06:37:49.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-21T05:13:44.748Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/knu.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},"funding":{"github":"knu"}},"created_at":"2023-04-13T04:54:52.000Z","updated_at":"2023-04-14T04:51:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"7336d02c-2639-4b06-b3d7-0555683b686f","html_url":"https://github.com/knu/update-tools","commit_stats":null,"previous_names":["knu/update-tools"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/knu/update-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fupdate-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fupdate-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fupdate-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fupdate-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knu","download_url":"https://codeload.github.com/knu/update-tools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fupdate-tools/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269687952,"owners_count":24459394,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-13T20:55:48.577Z","updated_at":"2025-08-10T06:39:14.622Z","avatar_url":"https://github.com/knu.png","language":null,"funding_links":["https://github.com/sponsors/knu"],"categories":[],"sub_categories":[],"readme":"# Update Tools Action for GitHub Actions\n\nThis Action updates a tool version listed in `.tool-versions` at the top level of the target repository, one at a time.\n\nIt uses [mise](https://github.com/jdx/mise) to get the latest version of a specified tool.\n\n## Usage\n\n``` yaml\non:\n  schedule:\n    - cron: \"0 0 * * 1\"  # At 00:00 UTC on Mondays\n\n  workflow_dispatch:\n\n  push:\n    branches:\n      - main\n    paths:\n      - \".tool-versions\"\n\nname: \"Update Tools\"\n\npermissions:\n  contents: write\n  pull-requests: write\n\njobs:\n  update_golang:\n    uses: knu/update-tools@v2\n    with:\n      tool: golang\n      constraint: \"1\"\n      release_url: https://go.dev/doc/devel/release\n\n  update_buf:\n    uses: knu/update-tools@v2\n    with:\n      tool: buf\n      constraint: \"1\"\n      release_url: https://github.com/bufbuild/buf/releases\n```\n\n### Inputs\n\n- `tool` (string, required)\n\n  Name of the mise/asdf plugin.  e.g. `golang`, `ruby`, `python`\n\n- `constraint` (string, optional)\n\n  [Version constraint](https://mise.jdx.dev/configuration.html#tool-versions) to pass to `mise latest`.\n\n  It is most common to specify a major version or `major.minor`.\n\n- `labels` (string, optional)\n\n  Comma separated list of labels for a created PR.\n\n  Default: `dependencies`\n\n- `release_url` (string, optional)\n\n  URL from which the reviewer can get release information of the tool.\n\n  Default: A Google search URL generated from the tool name and the latest version.\n\n- `token` (string, optional)\n\n  GitHub access token to use for calling GitHub APIs and creating a PR.\n\n  Default: `${{ github.token }}`\n\n## Outputs\n\n- `current_version`\n- `latest_version`\n\n## Author\n\nCopyright (c) 2023 Akinori MUSHA.\n\nLicensed under the 2-clause BSD license.  See `LICENSE.txt` for details.\n\nVisit the [GitHub Repository](https://github.com/knu/update-tools) for the latest information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknu%2Fupdate-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknu%2Fupdate-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknu%2Fupdate-tools/lists"}