shellcheck.yml 543 B

12345678910111213141516171819202122232425262728
  1. # Copyright (C) Viktor Szakats
  2. #
  3. # SPDX-License-Identifier: curl
  4. name: shellcheck
  5. on:
  6. push:
  7. branches:
  8. - master
  9. pull_request:
  10. branches:
  11. - master
  12. concurrency:
  13. group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
  14. cancel-in-progress: true
  15. permissions: {}
  16. jobs:
  17. shellcheck:
  18. runs-on: ubuntu-latest
  19. timeout-minutes: 5
  20. steps:
  21. - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
  22. - name: 'shellcheck'
  23. run: .github/scripts/shellcheck.sh