{"id":25858850,"url":"https://github.com/lowlydba/tsqllint-action","last_synced_at":"2025-03-01T20:36:31.433Z","repository":{"id":60657550,"uuid":"529971078","full_name":"lowlydba/tsqllint-action","owner":"lowlydba","description":"✅ Github Action to run TSQLLint.","archived":false,"fork":false,"pushed_at":"2025-01-19T15:33:54.000Z","size":99,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-21T19:01:49.746Z","etag":null,"topics":["actions","github-actions","hacktoberfest","lint","linter","t-sql","tsqllint"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/lowlydba.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"buy_me_a_coffee":"johnmcc"}},"created_at":"2022-08-28T20:23:21.000Z","updated_at":"2025-01-19T15:33:55.000Z","dependencies_parsed_at":"2024-03-16T18:49:08.735Z","dependency_job_id":"a384c693-108c-44be-91a9-9f9b0c277fed","html_url":"https://github.com/lowlydba/tsqllint-action","commit_stats":{"total_commits":82,"total_committers":2,"mean_commits":41.0,"dds":0.1097560975609756,"last_synced_commit":"afe0c90ffd1aa5fd77455dc3dd2dd7cae29dd727"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lowlydba%2Ftsqllint-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lowlydba%2Ftsqllint-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lowlydba%2Ftsqllint-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lowlydba%2Ftsqllint-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lowlydba","download_url":"https://codeload.github.com/lowlydba/tsqllint-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241422950,"owners_count":19960594,"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":["actions","github-actions","hacktoberfest","lint","linter","t-sql","tsqllint"],"created_at":"2025-03-01T20:36:30.707Z","updated_at":"2025-03-01T20:36:31.426Z","avatar_url":"https://github.com/lowlydba.png","language":"PowerShell","funding_links":["https://buymeacoffee.com/johnmcc"],"categories":[],"sub_categories":[],"readme":"# TSQLLint GitHub Action\n\n[![Lint](https://github.com/lowlydba/tsqllint-action/actions/workflows/lint.yml/badge.svg)](https://github.com/lowlydba/tsqllint-action/actions/workflows/lint.yml)\n[![Integration Tests](https://github.com/lowlydba/tsqllint-action/actions/workflows/test.yml/badge.svg)](https://github.com/lowlydba/tsqllint-action/actions/workflows/test.yml)\n\nThis action runs the latest [TSQLLint](https://github.com/tsqllint/tsqllint).\n\n## Inputs\n\n### `path`\n\n**Optional** - Space separated path(s) to run linter against.\nWildcards can be specified using `*`.\nDefault is `*.sql`.\n\n### `config`\n\n**Optional** - Path to a [configuration file](https://github.com/tsqllint/tsqllint#configuration)\nfor the linter.\nDefault is `.github/linters/.tsqllintrc`\n\n### `comment`\n\n**Optional** - Create comment with summary of linter results.\nDefault is `false`.\n\n### `only-changed-files`\n\n**Optional** - If run in a pull request, only lint Modified or Added files.\nDefault is `false`.\n\n### `append-comment`\n\n**Optional** - Append results from multiple runs in a single comment if `comment` is also `true`.\nDefault is `false`.\n\n### `summary`\n\n**Optional** - Add linter results to the job summary.\nDefault is `false`.\n\n### `compare-branch`\n\n**Optional** - Branch to diff against when using `only-changed-files`.\nDefault is `main`.\n\n## Examples\n\n```yml\njobs:\n  build:\n    name: Lint Code\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout Code\n        uses: actions/checkout@v3.0.2\n\n      - name: TSQLLint\n        uses: lowlydba/tsqllint-action@v1.0.0\n        with:\n          path: \"*.sql *.tsql\"\n          config: \"./.github/linter-conf/.tsqllintrc_150\"\n          comment: true\n```\n\n## Visuals\n\n![image](https://user-images.githubusercontent.com/16843041/206877097-49905dce-1c7d-4699-8777-8fefc26802bb.png)\n\n## Notes\n\n* If using `append`, running [marocchino/sticky-pull-request-comment][sticky-pull-request] first with the `delete` parameter may be required.\nSee the test workflow as an example.\n\n[sticky-pull-request]: https://github.com/marocchino/sticky-pull-request-comment\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flowlydba%2Ftsqllint-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flowlydba%2Ftsqllint-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flowlydba%2Ftsqllint-action/lists"}