action-sqlfluff icon indicating copy to clipboard operation
action-sqlfluff copied to clipboard

Run sqlfluff with reviewdog to check or format styles

Results 43 action-sqlfluff issues
Sort by recently updated
recently updated
newest added

When running with the dbt templater the process might add more output lines that aren't actual JSON format and then it will fail trying to run jq [here](https://github.com/yu-iskw/action-sqlfluff/blob/main/entrypoint.sh#L77) e.g: ```...

fix issue #39 https://github.com/yu-iskw/action-sqlfluff/compare/main...XiChu2333:action-sqlfluff:main#:~:text=%24lint_results%22-,sqlfluff_exit_code%3D%24%3F,-sqlfluff_exit_code%3D%24%3F Variable sqlfluff_exit_code would receive the return code of command "tee "$lint_results"" instead of the return code sqlfluff. So, the return code is always 0. Fix it...

The exit code is wrong for running SQLFluff lint: it return 0 even if the SQLFluff lint raises an exception. It's because the sqlfluff_exit_code get the wrong code from "tee"...

@yu-iskw See https://github.com/yu-iskw/action-sqlfluff/issues/31

code I'm using: name: sqlfluff with reviewdog on: pull_request: jobs: test-check: name: Lint-and-Parse-SQL runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: yu-iskw/[email protected] id: lint-sql #id: sqlfluff-with-reviewdog-in-composite with: github_token: ${{ secrets.github_token...

_This issue was automatically created by [Allstar](https://github.com/ossf/allstar/)._ **Security Policy Violation** Security policy not enabled. A SECURITY.md file can give users information about what constitutes a vulnerability and how to report...

allstar

This PR was automatically created by Snyk using the credentials of a real user.Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of...

Solves https://github.com/yu-iskw/action-sqlfluff/issues/74

When using this GitHub Action, I encounter the following error message: ``` 🐶 Get changed files fatal: --unshallow on a complete repository does not make sense ``` I suspect the...

Is it possible to use this action template on dbt when the `dbt_project.yml` file lives somewhere *other* than the root of the repository? If so, how to configure it? The...