with:
fetch-depth: 0
+#
+# shellcheck:
+# SC2223: This default assignment may cause DoS due to globbing. Quote it.
+# Easy to trigger and rarely a concern.
+#
+ - name: Configure the linters
+ run: |
+ echo 'disable=SC2223' > .shellcheckrc
+ echo .shellcheckrc >> .gitignore
+
+#
+# jscpd:
+# Disable entirely
+# Has a hair trigger and isn't useful enough to warrant tuning
+#
- name: Lint
uses: github/super-linter@v3
env:
DEFAULT_BRANCH: master
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FILTER_REGEX_EXCLUDE: (.*/)?(configure|config\.sub|config\.guess|missing|install-sh|freeradius\.css|toc_focus\.js|asciidoc/sass/.*\.scss)
VALIDATE_ALL_CODEBASE: ${{ github.ref == 'refs/heads/linter' }}
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ VALIDATE_JSCPD: false