mirror of
https://github.com/EV21/dynb.git
synced 2025-12-26 08:29:34 +01:00
dev: ✨ add github action with shellcheck for PRs
This commit is contained in:
16
.github/workflows/shellcheck.yml
vendored
Normal file
16
.github/workflows/shellcheck.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
name: Run shellcheck with reviewdog
|
||||||
|
on: [pull_request]
|
||||||
|
jobs:
|
||||||
|
shellcheck:
|
||||||
|
name: runner / shellcheck
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: shellcheck
|
||||||
|
uses: reviewdog/action-shellcheck@v1.9.0
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
reporter: github-pr-review
|
||||||
|
path: "."
|
||||||
|
pattern: "*.sh"
|
||||||
|
exclude: "./.git/*"
|
||||||
Reference in New Issue
Block a user