Release new version 0.108
[grml-debootstrap.git] / .github / workflows / pr-review.yml
1 # PR Review workflows.
2 # The intention is for these to only find *new* issues.
3
4 name: pr-review
5 on:
6   pull_request:
7 jobs:
8
9   shellcheck-code:
10     name: shellcheck grml-debootstrap
11     runs-on: ubuntu-latest
12     steps:
13       - uses: actions/checkout@v4
14       - name: shellcheck
15         uses: reviewdog/action-shellcheck@v1
16         with:
17           github_token: ${{ secrets.github_token }}
18           reporter: github-pr-review
19           path: "."
20           pattern: |
21             chroot-script
22             grml-debootstrap
23             config
24             tests/shellcheck-stub-debootstrap-variables
25           check_all_files_with_shebangs: "false"
26
27   shellcheck-tests:
28     name: shellcheck test scripts
29     runs-on: ubuntu-latest
30     steps:
31       - uses: actions/checkout@v4
32       - name: shellcheck
33         uses: reviewdog/action-shellcheck@v1
34         with:
35           github_token: ${{ secrets.github_token }}
36           reporter: github-pr-review
37           path: tests
38           pattern: |
39             *
40           check_all_files_with_shebangs: "false"