summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/super-linter.yml
diff options
context:
space:
mode:
authorJohn Bampton <[email protected]>2021-05-04 10:55:43 +1000
committerJohn Bampton <[email protected]>2021-06-16 08:34:54 +1000
commitdab5502e8a16d34d29adee6f7f9cb4f4ae0dfd68 (patch)
tree5f120f199cdf21986ca8af4dde364cf7156ebbc7 /.github/workflows/super-linter.yml
parent50b6fafddf2fa37727e812fbda8b7a61a8ca1ca1 (diff)
downloadmruby-dab5502e8a16d34d29adee6f7f9cb4f4ae0dfd68.tar.gz
mruby-dab5502e8a16d34d29adee6f7f9cb4f4ae0dfd68.zip
Run pre-commit with GitHub Actions
Running pre-commit with GitHub Actions now gives us more tests and coverage Remove duplicate GitHub Actions for merge conflicts and trailing whitespace Remove duplicate checks for markdownlint and yamllint from the GitHub Super-Linter Add new custom pre-commit hook running with a shell script to sort alphabetically and uniquify codespell.txt Add new pre-commit hook to check spelling with codespell https://github.com/codespell-project/codespell Fix spelling
Diffstat (limited to '.github/workflows/super-linter.yml')
-rw-r--r--.github/workflows/super-linter.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml
new file mode 100644
index 000000000..884f705d5
--- /dev/null
+++ b/.github/workflows/super-linter.yml
@@ -0,0 +1,23 @@
+name: Super Linter
+
+on:
+ push:
+ branches-ignore: [master]
+ # Remove the line above to run when pushing to master
+ pull_request:
+ branches: [master]
+
+jobs:
+ build:
+ name: Lint Code Base
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/[email protected]
+ - uses: github/[email protected]
+ env:
+ ERROR_ON_MISSING_EXEC_BIT: true
+ VALIDATE_BASH: true
+ # VALIDATE_BASH_EXEC: true
+ # VALIDATE_EDITORCONFIG: true
+ # VALIDATE_SHELL_SHFMT: true
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}