Skip to content

add shellcheck github actions workflow #8

add shellcheck github actions workflow

add shellcheck github actions workflow #8

Workflow file for this run

name: shell_check
on:
pull_request:
paths:
- '.github/workflows/shell_check.yml'
- '**.sh'
defaults:
run:
shell: bash
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
shell_check:
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v4
- name: shellcheck
uses: reviewdog/action-shellcheck@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
path: "."
pattern: "*.sh"
fail_level: "warning"
check_all_files_with_shebangs: true