Skip to content

Commit

Permalink
Create reviewdog.yml
Browse files Browse the repository at this point in the history
Adding reviewdog-workflow with shellcheck.
  • Loading branch information
ThatStasGuy authored Feb 16, 2024
1 parent b705386 commit 224b261
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: reviewdog
on: [pull_request]
permissions:
contents: read
id-token: write
issues: write
pull-requests: write
jobs:
shellcheck:
name: runner / shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: shellcheck
uses: reviewdog/action-shellcheck@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review # Change reporter.
path: "." # Optional.
#pattern: "*.sh" # Optional.
exclude: "./.git/*" # Optional.
check_all_files_with_shebangs: "true" # Optional.
fail_on_error: "true"

0 comments on commit 224b261

Please # to comment.