123456789101112131415161718192021222324252627282930313233343536 |
- name: ShellCheck
- on:
- push:
- tags:
- - v*
- branches:
- - master
- - release-*
- pull_request:
- branches:
- - master
- - release-*
- # cancel the in-progress workflow when PR is refreshed.
- concurrency:
- group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
- cancel-in-progress: true
- permissions:
- contents: read
- jobs:
- shellcheck:
- name: Shellcheck
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- - name: Run ShellCheck
- uses: ludeeus/action-shellcheck@master
- with:
- severity: warning
- check_together: 'yes'
- disable_matcher: false
- additional_files: build/reset build/sed-in-place
- ignore: olm
- format: gcc
|