diff --git a/.github/workflows/pre-main.yaml b/.github/workflows/pre-main.yaml new file mode 100644 index 000000000..a8a3a0133 --- /dev/null +++ b/.github/workflows/pre-main.yaml @@ -0,0 +1,22 @@ +name: Test Incoming Changes + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + workflow_dispatch: + +jobs: + shellcheck: + name: Shellcheck + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v2 + - name: Run ShellCheck + uses: ludeeus/action-shellcheck@master + env: + SHELLCHECK_OPTS: -e SC2068 + with: + ignore_names: bashrc + severity: error \ No newline at end of file