Patched out the privilege check as it wasn't working even with the co… #851
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
push: | |
paths-ignore: | |
- "**.md" | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Lint | |
run: | | |
npm install jsonlint | |
find spk/ \ | |
-not -path "*work*" \ | |
-not -path "spk/transmission/src/settings.json" \ | |
-not -path "*/wizard_templates/install_uifile" \ | |
-not -path "*/wizard_templates/upgrade_uifile" \ | |
-regextype posix-extended \ | |
-regex '.*(\.json|install_uifile\w*|upgrade_uifile\w*|app/config)' \ | |
| xargs -i node_modules/jsonlint/lib/cli.js -q -c {}; |