Open
Description
I'm getting a Ignoring missing file at 'annotations.json' because 'ignore-missing-file' is true
error in my workflow:
- name: Lint SQL
run: sqlfluff lint --format github-annotation | tee annotations.json || echo "::warning::Linter error ignored!"
- name: Print annotations (for testing purposes)
run: cat annotations.json
- name: Annotate SQL linting errors
uses: yuzutech/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
title: lint
input: './annotations.json'
The "Print annotations" step is printing out the annotations but the "Annotate SQL linting errors" step does not find the file. What am I missing here? I have configured the working-directory
at the workflow level if that's of any importance here.