diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml new file mode 100644 index 0000000..e185585 --- /dev/null +++ b/.github/workflows/shellcheck.yml @@ -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 diff --git a/bin/bootstrap b/bin/bootstrap index e92bbf4..c46b75f 100755 --- a/bin/bootstrap +++ b/bin/bootstrap @@ -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')