Open
Description
I got below error when running the package:
Below is the code i used
- name: Lint dbt models
id: sqlfluff_json
#shell: bash -l {0}
run: |
git fetch origin main:main
git diff main --name-only --diff-filter=d | egrep '^models/.*sql$$' | xargs -r sqlfluff lint --format github-annotation --annotation-level failure --nofail > annotations.json
- name: Annotate
uses: yuzutech/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
title: 'lint'
input: './annotations.json'