Merge pull request #5141 from solgenomics/topic/replace_empty_fixture
[sgn.git] / .github / workflows / linter.yml
blob9538e0160ff18d17415aa75bcba2edeb5fed1587
1 ---
2 name: Lint
4 on: # yamllint disable-line rule:truthy
5   push:
6     branches:
7       - 'master'
8   pull_request:
9     branches:
10       - 'master'
12 permissions: {}
14 jobs:
15   build:
16     name: Lint
17     runs-on: ubuntu-latest
19     permissions:
20       contents: read
21       packages: read
22       # To report GitHub Actions status checks
23       statuses: write
25     steps:
26       - name: Checkout code
27         uses: actions/checkout@v4
28         with:
29           # super-linter needs the full git history to get the
30           # list of files that changed across commits
31           fetch-depth: 0
33       - name: Super-linter
34         uses: super-linter/super-linter@v7.1.0 # x-release-please-version
35         env:
36           # To report GitHub Actions status checks
37           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38           VALIDATE_ALL_CODEBASE: false
39           VALIDATE_ANSIBLE: false
40           VALIDATE_CHECKOV: false
41           VALIDATE_JSCPD: false
42           FIX_YAML_PRETTIER: true
43           VALIDATE_JAVASCRIPT_PRETTIER: false
44           VALIDATE_JAVASCRIPT_STANDARD: false