{"id":23174009,"url":"https://github.com/zebradevs/flutter-code-quality","last_synced_at":"2026-02-24T11:33:05.530Z","repository":{"id":246058120,"uuid":"819974302","full_name":"ZebraDevs/flutter-code-quality","owner":"ZebraDevs","description":"A PR action for Flutter code quality ","archived":false,"fork":false,"pushed_at":"2026-02-18T09:40:15.000Z","size":3581,"stargazers_count":0,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-18T14:12:16.992Z","etag":null,"topics":["actions","dart","flutter"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/ZebraDevs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-25T14:47:01.000Z","updated_at":"2026-02-18T09:40:12.000Z","dependencies_parsed_at":"2024-06-25T16:37:39.770Z","dependency_job_id":"df6be99d-740d-47b7-b900-1e5edfe8cf81","html_url":"https://github.com/ZebraDevs/flutter-code-quality","commit_stats":null,"previous_names":["zebradevs/flutter-code-quality"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/ZebraDevs/flutter-code-quality","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZebraDevs%2Fflutter-code-quality","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZebraDevs%2Fflutter-code-quality/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZebraDevs%2Fflutter-code-quality/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZebraDevs%2Fflutter-code-quality/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZebraDevs","download_url":"https://codeload.github.com/ZebraDevs/flutter-code-quality/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZebraDevs%2Fflutter-code-quality/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29780604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T10:45:18.109Z","status":"ssl_error","status_checked_at":"2026-02-24T10:45:09.911Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["actions","dart","flutter"],"created_at":"2024-12-18T05:18:56.017Z","updated_at":"2026-02-24T11:33:05.510Z","avatar_url":"https://github.com/ZebraDevs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flutter-code-quality\n\nThis action is designed to format and test Flutter repositories on pull requests. It helps ensure that your code meets the required quality standards.\n\n### Usage\n\nFollow the instructions below to integrate this action into your workflow.\n\n\u003c!-- x-release-please-start-version --\u003e\n\n```yml\njobs:\n  code-quality:\n    runs-on: ubuntu-latest\n    steps:\n      # Checkout branch\n      - uses: actions/checkout@v4\n      # Set up Flutter within the action\n      - uses: subosito/flutter-action@v2\n        with:\n          # See https://github.com/subosito/flutter-action\n      - uses: ZebraDevs/flutter-code-quality@v1.0.10\n        with:\n          # Token used for authentication.\n          token: ${{secrets.GITHUB_TOKEN}}\n```\n\n\u003c!-- x-release-please-end --\u003e\n\n## Inputs\n\n| Name                | Description                                                                                    | Required | Default |\n| ------------------- | ---------------------------------------------------------------------------------------------- | -------- | ------- |\n| token               | Token used for pushing fixes and commenting on PRs.                                            | true     |         |\n| run-tests           | Whether tests should be run.                                                                   | false    | true    |\n| run-analysis        | Whether static analysis should be run.                                                         | false    | true    |\n| run-coverage        | Whether code coverage should be run.                                                           | false    | true    |\n| run-prev-coverage   | Whether code coverage should be compared with the base branch - run-coverage must also be true | false    | true    |\n| run-behind-by       | Whether action should check if HEAD branch is behind base branch.                              | false    | true    |\n| create-comment      | Whether the action should comment the output status.                                           | false    | true    |\n| working-directory   | Working directory to run the action in                                                         | false    | \".\"     |\n| coverage-pass-score | Coverage passing percentage                                                                    | false    | \"90\"    |\n| test-command        | Command used to run test suite.                                                                | false    | \"\"      |\n\nBy default, the `test-command` input is empty, and the action uses the following command to run tests and generate coverage:\n\n```bash\nflutter test --coverage --reporter json --coverage-path ${coverageDirectory}/lcov.info\n```\n\nIf you provide a custom `test-command`, this default behavior is overridden. Note that the `${coverageDirectory}/lcov.info` path for coverage output is not automatically applied when using a custom command. You must ensure that your custom test command handles coverage generation and specifies the appropriate output path if required.\n\n## Coverage\n\n⚠️ To compare coverage against previous code, it is required that the code is checked out with `fetch-depth: 0`:\n\n```yaml\n- uses: actions/checkout@v4\n    with:\n      fetch-depth: 0\n```\n\n\u003e During the action, coverage will be calculated, and lcov.info will be saved in temporary directory `.coverage`. Please refrain from using a top level directory with this path, as this could cause issues.\n\n## Contributing\n\nThis project welcomes contributions. Please check out our [Contributing guide](CONTRIBUTING.md) to learn more on how to get started.\n\n### License\n\nThis project is released under the [MIT License](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzebradevs%2Fflutter-code-quality","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzebradevs%2Fflutter-code-quality","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzebradevs%2Fflutter-code-quality/lists"}