File: pr-review.yml

package info (click to toggle)
grml-debootstrap 0.125
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 480 kB
  • sloc: sh: 2,720; python: 165; makefile: 70; ansic: 49
file content (41 lines) | stat: -rw-r--r-- 1,075 bytes parent folder | download
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.
# The intention is for these to only find *new* issues.

name: pr-review
on:
  workflow_dispatch:
  pull_request:
jobs:

  shellcheck-code:
    name: shellcheck grml-debootstrap
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6
      - name: shellcheck
        uses: reviewdog/action-shellcheck@v1
        with:
          github_token: ${{ secrets.github_token }}
          reporter: github-pr-review
          path: "."
          pattern: |
            chroot-script
            grml-debootstrap
            config
            tests/shellcheck-stub-debootstrap-variables
          check_all_files_with_shebangs: "false"

  shellcheck-tests:
    name: shellcheck test scripts
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6
      - 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"