{"id":18600295,"url":"https://github.com/react-navigation/check-versions-action","last_synced_at":"2025-04-10T18:31:20.783Z","repository":{"id":39977190,"uuid":"257147112","full_name":"react-navigation/check-versions-action","owner":"react-navigation","description":"Check for missing or outdated versions of packages mentioned in the issue","archived":false,"fork":false,"pushed_at":"2023-01-05T13:03:07.000Z","size":1078,"stargazers_count":3,"open_issues_count":2,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-05-19T05:18:44.182Z","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/react-navigation.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}},"created_at":"2020-04-20T02:07:11.000Z","updated_at":"2024-04-05T15:24:05.000Z","dependencies_parsed_at":"2023-02-04T06:17:07.967Z","dependency_job_id":null,"html_url":"https://github.com/react-navigation/check-versions-action","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.16666666666666663","last_synced_commit":"deac0a153b834fdda425028be69b2cf786dacc31"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-navigation%2Fcheck-versions-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-navigation%2Fcheck-versions-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-navigation%2Fcheck-versions-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-navigation%2Fcheck-versions-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/react-navigation","download_url":"https://codeload.github.com/react-navigation/check-versions-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247334012,"owners_count":20922125,"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-07T02:03:37.435Z","updated_at":"2025-04-10T18:31:20.754Z","avatar_url":"https://github.com/react-navigation.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Check versions action\n\nThis action checks for missing or outdated versions of packages mentioned in the issue.\n\n## How it works\n\nThe action will check the issue content for name of packages and try to extract the version numbers. If some of the packages are missing version numbers or don't match the latest version numbers on npm, then it'll comment on the issue.\n\n![demo](assets/screenshot.png)\n\n## Installation\n\nCreate a new workflow file (e.g. `.github/workflows/check-versions.yml`) and add the following configuration:\n\n```yml\nname: Check versions\non:\n  issues:\n    types: [opened]\n\njobs:\n  check-versions:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: react-navigation/check-versions-action@v1.0.0\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          required-packages: |\n            @react-navigation/native\n          optional-packages: |\n            @react-navigation/bottom-tabs\n            @react-navigation/drawer\n            @react-navigation/stack\n          missing-versions-label: 'needs more info'\n```\n\nMake sure to change the `packages` list and the `missing-versions-label`.\n\n## Inputs\n\n### `github-token` (`required`)\n\nThe `GITHUB_TOKEN` secret. This is needed so that we can post comments on the issue.\n\n### `required-packages`\n\nList of required packages to check for. The action will match the content of the issue against these package names to find mentioned versions. If the packages are not mentioned or their version is not mentioned in the issue, the action will mark them as missing.\n\n### `optional-packages`\n\nList of optional packages to check for. The action will match the content of the issue against these package names to find mentioned versions. If there are packages present in the issue, but not mentioned in this list, then they will be ignored.\n\n### `comment`\n\nBoolean to indicate whether the action should comment on the issue on finding missing or outdated versions. Defaults to `true`.\n\nSet it to `false` if you want to use the action as a filter.\n\n### `missing-versions-label`\n\nLabel to add when missing or outdated versions are found.\n\n## Outputs\n\n### `found`\n\nPackages and version numbers found. It'll be formatted like `@react-navigation/stack@5.1.2,@react-navigation/native@5.0.5`.\n\n### `outdated`\n\nPackages with outdated versions and their latest versions. It'll be formatted like `@react-navigation/stack@5.1.2,@react-navigation/native@5.0.5`.\n\n### `missing`\n\nPackages missing version numbers. It'll be formatted like `@react-navigation/stack,@react-navigation/native`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-navigation%2Fcheck-versions-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freact-navigation%2Fcheck-versions-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-navigation%2Fcheck-versions-action/lists"}