We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61c5606 commit 8f6b331Copy full SHA for 8f6b331
1 file changed
.github/workflows/lint_sqlfluff.yml
@@ -35,8 +35,12 @@ jobs:
35
shell: bash
36
run: sqlfluff lint --format github-annotation --annotation-level failure --nofail ${{ steps.get_files_to_lint.outputs.lintees }} > annotations.json
37
- name: Annotate
38
+ # Fork PRs cannot create check runs with GITHUB_TOKEN; lint already ran.
39
+ continue-on-error: true
40
+ if: steps.get_files_to_lint.outputs.lintees != ''
41
uses: yuzutech/annotations-action@v0.6.0
42
with:
43
repo-token: "${{ secrets.GITHUB_TOKEN }}"
44
title: "SQLFluff Lint"
- input: "./annotations.json"
45
+ input: "./annotations.json"
46
+ ignore-missing-file: true
0 commit comments