Skip to content

Commit

Permalink
Add shellcheck github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom committed Aug 14, 2024
1 parent a47547d commit 0d084e9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: shellcheck

on:
push:
branches: [main]
pull_request:
workflow_dispatch:

jobs:
shellcheck:
name: Run shellcheck on scripts
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332

- name: Run shellcheck
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38
1 change: 1 addition & 0 deletions bin/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ system("rm -rf %s" % File.join(dir, ".ruby-version"))
system("rm -rf %s" % File.join(dir, "bin/bootstrap"))
system("rm -rf %s" % File.join(dir, ".github/ISSUE_TEMPLATE.md"))
system("rm -rf %s" % File.join(dir, ".github/workflows/pause-community-contributions.yml"))
system("rm -rf %s" % File.join(dir, ".github/workflows/shellcheck.yml"))
system("mv %s/TRACK_README.md %s/README.md" % [dir, dir])

f = File.join(dir, 'LICENSE')
Expand Down

0 comments on commit 0d084e9

Please sign in to comment.