differential-shellcheck.yml 619 B

123456789101112131415161718192021222324252627282930
  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. permissions:
  8. contents: read
  9. jobs:
  10. lint:
  11. runs-on: ubuntu-latest
  12. permissions:
  13. security-events: write
  14. pull-requests: write
  15. steps:
  16. - name: Repository checkout
  17. uses: actions/checkout@v3
  18. with:
  19. fetch-depth: 0
  20. - name: Differential ShellCheck
  21. uses: redhat-plumbers-in-action/differential-shellcheck@v3
  22. with:
  23. severity: warning
  24. token: ${{ secrets.GITHUB_TOKEN }}