differential-shellcheck.yml 653 B

1234567891011121314151617181920212223242526272829303132
  1. # Doc: https://github.com/redhat-plumbers-in-action/differential-shellcheck#usage
  2. ---
  3. name: Differential ShellCheck
  4. on:
  5. pull_request:
  6. branches: [master]
  7. ignore-paths:
  8. - '**.md'
  9. permissions:
  10. contents: read
  11. jobs:
  12. lint:
  13. runs-on: ubuntu-latest
  14. permissions:
  15. security-events: write
  16. pull-requests: write
  17. steps:
  18. - name: Repository checkout
  19. uses: actions/checkout@v4
  20. with:
  21. fetch-depth: 0
  22. - name: Differential ShellCheck
  23. uses: redhat-plumbers-in-action/differential-shellcheck@v3
  24. with:
  25. severity: warning
  26. token: ${{ secrets.GITHUB_TOKEN }}