{"id":16019825,"url":"https://github.com/fabasoad/setup-enry-action","last_synced_at":"2025-03-18T03:31:33.897Z","repository":{"id":40350094,"uuid":"490565303","full_name":"fabasoad/setup-enry-action","owner":"fabasoad","description":"This GitHub action installs enry CLI tool.","archived":false,"fork":false,"pushed_at":"2025-03-11T22:03:21.000Z","size":155,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T23:19:14.724Z","etag":null,"topics":["enry","github-action","github-actions","language-detection","language-detector","linguist"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fabasoad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":["https://www.bitcoinqrcodemaker.com/?style=bitcoin\u0026address=145HwyQAcv4vrzUumJhu7nWGAVBysX9jJH\u0026prefix=on","https://paypal.me/fabasoad"],"github":["fabasoad"],"ko_fi":"fabasoad","liberapay":"fabasoad"}},"created_at":"2022-05-10T06:14:30.000Z","updated_at":"2025-03-11T22:03:24.000Z","dependencies_parsed_at":"2024-03-03T06:24:24.904Z","dependency_job_id":"f77ce311-4a2e-430b-b549-235b98937630","html_url":"https://github.com/fabasoad/setup-enry-action","commit_stats":{"total_commits":23,"total_committers":3,"mean_commits":7.666666666666667,"dds":0.6086956521739131,"last_synced_commit":"84bdff5a6f9f011e0fff05749d60064f232b5215"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":"fabasoad/typescript-setup-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabasoad%2Fsetup-enry-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabasoad%2Fsetup-enry-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabasoad%2Fsetup-enry-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabasoad%2Fsetup-enry-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabasoad","download_url":"https://codeload.github.com/fabasoad/setup-enry-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243897019,"owners_count":20365488,"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":["enry","github-action","github-actions","language-detection","language-detector","linguist"],"created_at":"2024-10-08T17:05:34.254Z","updated_at":"2025-03-18T03:31:33.892Z","avatar_url":"https://github.com/fabasoad.png","language":"Shell","funding_links":["https://www.bitcoinqrcodemaker.com/?style=bitcoin\u0026address=145HwyQAcv4vrzUumJhu7nWGAVBysX9jJH\u0026prefix=on","https://paypal.me/fabasoad","https://github.com/sponsors/fabasoad","https://ko-fi.com/fabasoad","https://liberapay.com/fabasoad"],"categories":[],"sub_categories":[],"readme":"# Setup Enry GitHub Action\n\n[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)\n![GitHub release](https://img.shields.io/github/v/release/fabasoad/setup-enry-action?include_prereleases)\n![functional-tests](https://github.com/fabasoad/setup-enry-action/actions/workflows/functional-tests.yml/badge.svg)\n![linting](https://github.com/fabasoad/setup-enry-action/actions/workflows/linting.yml/badge.svg)\n![security](https://github.com/fabasoad/setup-enry-action/actions/workflows/security.yml/badge.svg)\n\nThis action sets up an [enry](https://github.com/go-enry/enry) tool.\n\n## Supported OS\n\n\u003c!-- prettier-ignore-start --\u003e\n| OS      |                    |\n|---------|--------------------|\n| Windows | :white_check_mark: |\n| Linux   | :white_check_mark: |\n| macOS   | :white_check_mark: |\n\u003c!-- prettier-ignore-end --\u003e\n\n## Prerequisites\n\nThe following tools have to be installed for successful work of this GitHub Action:\n[curl](https://curl.se).\n\n## Inputs\n\n```yaml\n- uses: fabasoad/setup-enry-action@v0\n  with:\n    # (Optional) enry version. Defaults to the latest version.\n    version: \"1.3.0\"\n    # (Optional) If \"false\" skips installation if enry is already installed.\n    # If \"true\" installs enry in any case. Defaults to \"false\".\n    force: \"false\"\n    # (Optional) GitHub token that is used to send requests to GitHub API such\n    # as getting latest release. Defaults to the token provided by GitHub Actions\n    # environment.\n    github-token: \"${{ github.token }}\"\n```\n\n## Outputs\n\n\u003c!-- prettier-ignore-start --\u003e\n| Name      | Description                       | Example |\n|-----------|-----------------------------------|---------|\n| installed | Whether enry was installed or not | `true`  |\n\u003c!-- prettier-ignore-end --\u003e\n\n## Example usage\n\n```yaml\nname: Setup Enry\n\non: push\n\njobs:\n  example:\n    name: Example\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: fabasoad/setup-enry-action@v0\n      - name: Run CLI\n        run: |\n          echo \"Text format:\"\n          enry\n          echo \"JSON format:\"\n          enry --json | jq\n```\n\n### Result\n\n```shell\nText format:\n79.74% HTML\n9.90% TypeScript\n6.44% JavaScript\n3.93% CSS\nJSON format:\n[\n  {\n    \"color\": \"#e34c26\",\n    \"language\": \"HTML\",\n    \"percentage\": \"79.74%\",\n    \"type\": \"unknown\"\n  },\n  {\n    \"color\": \"#3178c6\",\n    \"language\": \"TypeScript\",\n    \"percentage\": \"9.90%\",\n    \"type\": \"unknown\"\n  },\n  {\n    \"color\": \"#f1e05a\",\n    \"language\": \"JavaScript\",\n    \"percentage\": \"6.44%\",\n    \"type\": \"unknown\"\n  },\n  {\n    \"color\": \"#563d7c\",\n    \"language\": \"CSS\",\n    \"percentage\": \"3.93%\",\n    \"type\": \"unknown\"\n  }\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabasoad%2Fsetup-enry-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabasoad%2Fsetup-enry-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabasoad%2Fsetup-enry-action/lists"}