{"id":19796218,"url":"https://github.com/getgrit/github-action-check","last_synced_at":"2025-02-28T10:28:17.597Z","repository":{"id":213024136,"uuid":"732824120","full_name":"getgrit/github-action-check","owner":"getgrit","description":"GitHub action for enforcing grit checks","archived":false,"fork":false,"pushed_at":"2023-12-18T01:46:32.000Z","size":7,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-11T05:14:57.647Z","etag":null,"topics":["cli","code","grit"],"latest_commit_sha":null,"homepage":"https://docs.grit.io/guides/ci","language":null,"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/getgrit.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-17T23:41:17.000Z","updated_at":"2024-03-25T14:34:31.000Z","dependencies_parsed_at":"2023-12-18T02:23:55.740Z","dependency_job_id":"73a52690-faea-4279-bcc9-1133e6d16f47","html_url":"https://github.com/getgrit/github-action-check","commit_stats":null,"previous_names":["getgrit/github-action-check"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getgrit%2Fgithub-action-check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getgrit%2Fgithub-action-check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getgrit%2Fgithub-action-check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getgrit%2Fgithub-action-check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getgrit","download_url":"https://codeload.github.com/getgrit/github-action-check/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241137961,"owners_count":19916233,"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":["cli","code","grit"],"created_at":"2024-11-12T07:18:52.073Z","updated_at":"2025-02-28T10:28:17.572Z","avatar_url":"https://github.com/getgrit.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Grit GitHub Action\n\nThis action runs the Grit CLI to report any violations of your configured [Grit patterns](https://docs.grit.io/guides/config).\n\nThis action will add annotations to the GitHub commit or pull request with any `warning` or `error` patterns that are matched. If any `error` patterns are matched, the action will fail the workflow (exit code 1).\n\n## Usage\n\nYou can add it as a step in your GitHub Actions workflow to automatically check for violations on every push:\n\n```\n  - name: Grit\n    uses: getgrit/github-action-check@v0\n    with:\n      # Optional additional arguments to pass to the `grit check` command\n      args: ''\n```\n\n## Inputs\n\n### `args`\nSpecify [additional arguments](https://docs.grit.io/cli/reference#grit-check) to pass to the `grit check` command.\n\nBy default, only warning and error patterns are reported. To include info patterns, use `--level`.\n\n```\n  - name: Grit\n    uses: getgrit/github-action-check@v0\n    with:\n      args: '--level info'\n```\n\n## Example workflow\n\n```\nname: grit-check\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - '*'\n\njobs:\n  run:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out code\n        uses: actions/checkout@v4\n      - name: grit-check\n        uses: getgrit/github-action-check@v0\n```\n\n## License\nThis action code is released under the [MIT License](LICENSE).\n\nThe Grit CLI is not included in this repository and is licensed separately.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetgrit%2Fgithub-action-check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetgrit%2Fgithub-action-check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetgrit%2Fgithub-action-check/lists"}