Skip to content

Commit 0d084e9

Browse files
Add shellcheck github workflow
1 parent a47547d commit 0d084e9

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/workflows/shellcheck.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: shellcheck
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
workflow_dispatch:
8+
9+
jobs:
10+
shellcheck:
11+
name: Run shellcheck on scripts
12+
runs-on: ubuntu-22.04
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
16+
17+
- name: Run shellcheck
18+
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38

bin/bootstrap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ system("rm -rf %s" % File.join(dir, ".ruby-version"))
4848
system("rm -rf %s" % File.join(dir, "bin/bootstrap"))
4949
system("rm -rf %s" % File.join(dir, ".github/ISSUE_TEMPLATE.md"))
5050
system("rm -rf %s" % File.join(dir, ".github/workflows/pause-community-contributions.yml"))
51+
system("rm -rf %s" % File.join(dir, ".github/workflows/shellcheck.yml"))
5152
system("mv %s/TRACK_README.md %s/README.md" % [dir, dir])
5253

5354
f = File.join(dir, 'LICENSE')

0 commit comments

Comments
 (0)