--- name: Lint on: push: branches: [master] pull_request: branches: [master] permissions: contents: read jobs: shellcheck: runs-on: ubuntu-latest permissions: security-events: write steps: - name: Repository checkout uses: actions/checkout@v3 with: fetch-depth: 0 - name: Differential ShellCheck uses: redhat-plumbers-in-action/differential-shellcheck@v4 with: token: ${{ secrets.GITHUB_TOKEN }}