diff --git a/.github/workflows/differential_shellcheck.yml b/.github/workflows/differential_shellcheck.yml new file mode 100644 index 000000000..4af99f8d0 --- /dev/null +++ b/.github/workflows/differential_shellcheck.yml @@ -0,0 +1,29 @@ +--- +# https://github.com/redhat-plumbers-in-action/differential-shellcheck#readme + +name: Differential ShellCheck +on: + pull_request: + branches: [master] + +permissions: + contents: read + +jobs: + lint: + runs-on: ubuntu-latest + + permissions: + security-events: write + pull-requests: write + + steps: + - name: Repository checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Differential ShellCheck + uses: redhat-plumbers-in-action/differential-shellcheck@v3 + with: + token: ${{ secrets.GITHUB_TOKEN }}