{"id":20885837,"url":"https://github.com/compas-dev/compas-actions.docversions","last_synced_at":"2026-04-29T04:04:17.178Z","repository":{"id":89440449,"uuid":"357473460","full_name":"compas-dev/compas-actions.docversions","owner":"compas-dev","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-25T09:26:52.000Z","size":305,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-01-19T10:45:23.681Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/compas-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-04-13T08:08:39.000Z","updated_at":"2023-11-24T11:09:56.000Z","dependencies_parsed_at":"2024-01-25T11:06:02.863Z","dependency_job_id":"8b7b9743-eb54-4e30-9c3e-4c4c09c598e0","html_url":"https://github.com/compas-dev/compas-actions.docversions","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compas-dev%2Fcompas-actions.docversions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compas-dev%2Fcompas-actions.docversions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compas-dev%2Fcompas-actions.docversions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compas-dev%2Fcompas-actions.docversions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/compas-dev","download_url":"https://codeload.github.com/compas-dev/compas-actions.docversions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243268086,"owners_count":20263803,"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-11-18T08:14:48.818Z","updated_at":"2025-12-29T04:04:07.282Z","avatar_url":"https://github.com/compas-dev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# compas-actions.docversions\n\n## Introduction\n`compas-actions.docversions` is a GitHub action designed to update the documentation versions list for COMPAS repositories. It automates the process of maintaining a current list of documentation versions, ensuring users have access to the latest and relevant documentation. This action is designed to be used internally inside the `compas-actions.docs` action. Please refer to the [compas-actions.docs](https://github.com/compas-dev/compas-actions.docs) documentation for more information.\n\n## Usage\nTo use this action in your workflow, include it in your `.yml` file with the required inputs. \n\n```yaml\nsteps:\n- uses: your-repo/compas-actions.docversions@v3\n  with:\n    doc_url: \u003cURL of your documentation site\u003e\n    only_keep_latest_patch: 'true' # or 'false' to keep each patch version.\n```\n\nThis action will update the `versions.json` file repository with the latest versions list. It will also remove older `patch` and `pre-release` versions of each `minor` version if `only_keep_latest_patch` is set to `true`.\n\n## Development\nTo develop this action, you will need to have `node` and `npm` installed. You can install them by following the instructions [here](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm).\n\n\u003c!-- ncc --\u003e\n\n### Install dependencies\n```bash\nnpm install\n```\n\n\n### Build\nTo build the action you need ncc to compile `index.js`.\n```bash\nnpm install -g @vercel/ncc\n```\n\nThen remember to build the action before committing.\n```bash\nnpm run build\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcompas-dev%2Fcompas-actions.docversions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcompas-dev%2Fcompas-actions.docversions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcompas-dev%2Fcompas-actions.docversions/lists"}