File tree Expand file tree Collapse file tree 4 files changed +31
-1
lines changed Expand file tree Collapse file tree 4 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 44 pull_request :
55 branches :
66 - main
7+ paths :
8+ - ' sync-ssh-keys.sh'
9+ - ' users.conf'
710
811jobs :
912 check-version :
Original file line number Diff line number Diff line change 1+ name : Lint Shell Script
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+ paths :
8+ - ' sync-ssh-keys.sh'
9+ - ' .github/workflows/lint.yml'
10+
11+ jobs :
12+ shellcheck :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout code
16+ uses : actions/checkout@v4
17+
18+ - name : Run ShellCheck
19+ uses : ludeeus/action-shellcheck@master
20+ with :
21+ scandir : .
22+ severity : warning
Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7+ paths :
8+ - ' sync-ssh-keys.sh'
9+ - ' users.conf'
10+ workflow_dispatch :
711
812jobs :
913 release :
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -euo pipefail
33
4- SCRIPT_VERSION=" 0.0.4"
4+ # shellcheck disable=SC2034 # planned to be used in a future release
5+ SCRIPT_VERSION=" 0.0.5"
56
67# === Load user configuration ===
78SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
You can’t perform that action at this time.
0 commit comments