-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workflows: add ShellCheck and ignore existing files with issues
This adds ShellCheck to the repository, but ignores the files with issues for now. The idea is to prevent ShellCheck errors in new code, but allow old code to be fixed over time. Signed-off-by: Tobias Schwarz <info@tobias-schwarz.com>
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
name: ShellCheck Lint | ||
on: [push, pull_request] # yamllint disable-line rule:truthy | ||
|
||
jobs: | ||
build: | ||
name: Lint ShellCheck | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Lint ShellCheck | ||
uses: ludeeus/action-shellcheck@master | ||
with: | ||
ignore_paths: > # TODO: fix the issues in all these files and remove the lines afterwards | ||
./fetch_translation_tools.sh | ||
./luci/luci-app-falter-owm/files/owm.sh | ||
./packages/falter-berlin-admin-keys/files/register_keys.sh | ||
./packages/falter-berlin-autoupdate/files/autoupdate.sh | ||
./packages/falter-berlin-autoupdate/files/lib_autoupdate.sh | ||
./packages/falter-berlin-autoupdate/files/post-inst.sh | ||
./packages/falter-berlin-bbbdigger/files/postinst.sh | ||
./packages/falter-berlin-lib-guard/files/lib/functions/guard.sh | ||
./packages/falter-berlin-migration/files/lib/functions/semver.sh | ||
./packages/falter-berlin-migration/uci-defaults/freifunk-berlin-01-migration.sh | ||
./packages/falter-berlin-network-defaults/lib/functions/freifunk-berlin-network.sh | ||
./packages/falter-berlin-ssid-changer/files/lib/lib_ssid-changer.sh | ||
./packages/falter-berlin-tunnelmanager/files/down.sh | ||
./packages/falter-berlin-tunnelmanager/files/tunnelman.sh | ||
./packages/falter-berlin-tunnelmanager/files/up.sh | ||
./packages/falter-common/files-common/etc/profile.d/10_dynbanner.sh | ||
./packages/falter-common/files-common/usr/bin/watch.sh |