Commit 26d32e1a authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

doc(lint): document output lint reports

parent 1ec3ef87
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -41,6 +41,12 @@ It uses the following variable:
| --------------------- | ---------------------------------------- | ----------------- |
| `SQLFLUFF_LINT_ARGS`  | Lint [options and arguments](https://docs.sqlfluff.com/en/stable/cli.html#sqlfluff-lint) | _none_ |

In addition to a textual report in the console, this job produces the following reports, kept for one day:

| Report         | Format                                                                       | Usage             |
| -------------- | ---------------------------------------------------------------------------- | ----------------- |
| `reports/sqlfluff-lint.native.json` | [SQLFluff JSON](https://docs.sqlfluff.com/en/stable/cli.html#cmdoption-sqlfluff-lint-f) format | - |

### Secrets management

Here are some advices about your **secrets** (variables marked with a :lock:):
+1 −1
Original line number Diff line number Diff line
@@ -330,7 +330,7 @@ sqlfluff-lint:
    expire_in: 1 day
    when: always
    paths:
      - reports/
      - "reports/sqlfluff-lint.*"
  rules:
    - !reference [.test-policy, rules]