{"id":20601396,"url":"https://github.com/tmccarthy/github-pr-language-detection","last_synced_at":"2026-04-25T03:13:27.129Z","repository":{"id":57715041,"uuid":"310582151","full_name":"tmccarthy/github-pr-language-detection","owner":"tmccarthy","description":"Tool that uses github-linguist to detect the language on every PR raised against a repository","archived":false,"fork":false,"pushed_at":"2020-11-15T01:17:52.000Z","size":102,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-17T01:47:00.636Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tmccarthy.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}},"created_at":"2020-11-06T11:44:15.000Z","updated_at":"2024-12-09T19:54:16.000Z","dependencies_parsed_at":"2022-09-02T22:11:10.113Z","dependency_job_id":null,"html_url":"https://github.com/tmccarthy/github-pr-language-detection","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmccarthy%2Fgithub-pr-language-detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmccarthy%2Fgithub-pr-language-detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmccarthy%2Fgithub-pr-language-detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmccarthy%2Fgithub-pr-language-detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmccarthy","download_url":"https://codeload.github.com/tmccarthy/github-pr-language-detection/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242241246,"owners_count":20095339,"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-16T09:09:54.038Z","updated_at":"2026-04-25T03:13:27.087Z","avatar_url":"https://github.com/tmccarthy.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `github-pr-language-detection`\n\n[![CircleCI](https://circleci.com/gh/tmccarthy/github-pr-language-detection/tree/master.svg?style=shield)](https://circleci.com/gh/tmccarthy/github-pr-language-detection/tree/master)\n[![Maven Central](https://img.shields.io/maven-central/v/au.id.tmm.github-pr-language-detection/github-pr-language-detection-lib_2.13.svg)](https://repo.maven.apache.org/maven2/au/id/tmm/github-pr-language-detection/github-pr-language-detection-lib_2.13/)\n\nA utility for detecting the programming languages used in pull requests against a GitHub repository.\n\nRequires that `github-linguist` is installed and available on the `PATH` (see [instructions](https://github.com/github/linguist/#command-line-usage)).\n\n## Usage\n\n### Running on the command line\n\nThe project is configured using a json file of the following format:\n\n```json\n{\n  \"gitHubConfiguration\": {\n    \"credentials\": {\n      \"username\": \"email@example.com\",\n      \"personalAccessToken\": \"\u003cpersonal access token\u003e\"\n    },\n    \"instance\": \"github.com\"\n  },\n  \"repositoryToScan\": \"tmccarthy/github-pr-language-detection\",\n  \"performance\": {\n    \"checkoutsPerMinute\": 16,\n    \"maxConcurrent\": 2,\n    \"checkoutTimeout\": \"PT10S\",\n    \"languageCheckTimeout\": \"PT30S\"\n  },\n  \"reportConfig\": {\n    \"output\": \"output.csv\",\n    \"timeZone\": \"Australia/Melbourne\",\n    \"languagesToIgnoreIfPossible\": [\n      \"Shell\"\n    ]\n  }\n}\n```\n\nProvide the path to the config file to the `cli/run` SBT task:\n\n```shell\n./sbt \"cli/run runconfig.json\"\n```\n\n### Use as a library\n\nAdd the following to your `build.sbt` file:\n\n```scala\nlibraryDependencies += \"au.id.tmm.github-pr-language-detection\" %% \"github-pr-language-detection-lib\" % \"0.0.2\"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmccarthy%2Fgithub-pr-language-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmccarthy%2Fgithub-pr-language-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmccarthy%2Fgithub-pr-language-detection/lists"}