-
-
Notifications
You must be signed in to change notification settings - Fork 39
41 lines (39 loc) · 1.03 KB
/
pr-review.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# PR Review workflows.
name: pr-review
on:
workflow_dispatch:
pull_request:
push:
jobs:
shellcheck-code:
name: shellcheck main code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: shellcheck
uses: reviewdog/action-shellcheck@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
path: "."
pattern: |
grml-live
scripts/*.sh
remaster/grml-live-remaster
etc/grml/fai/config/hooks/*
etc/grml/fai/config/scripts/*
check_all_files_with_shebangs: "false"
shellcheck-tests:
name: shellcheck test scripts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: shellcheck
uses: reviewdog/action-shellcheck@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
path: tests
pattern: |
*.sh
check_all_files_with_shebangs: "false"