diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index 95e0123..45f67a5 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -11,61 +11,4 @@ permissions: jobs: review: name: review - runs-on: ubuntu-latest - steps: - - - name: Checkout code - uses: actions/checkout@v7 - - parallel: - - - name: Spelling - uses: reviewdog/action-misspell@v1 - with: - locale: "US" - level: warning - pattern: | - *.md - *.sh - reporter: github-pr-review - github_token: ${{ secrets.GITHUB_TOKEN }} - - - name: Hadolint - uses: reviewdog/action-hadolint@v1 - with: - level: warning - fail_level: error - reporter: github-pr-review - hadolint_ignore: DL3008 DL3018 DL3020 DL3029 DL3059 - github_token: ${{ secrets.GITHUB_TOKEN }} - - - name: YamlLint - uses: reviewdog/action-yamllint@v1 - with: - level: warning - reporter: github-pr-review - github_token: ${{ secrets.GITHUB_TOKEN }} - - - name: ActionLint - uses: reviewdog/action-actionlint@v1 - with: - level: warning - reporter: github-pr-review - github_token: ${{ secrets.GITHUB_TOKEN }} - - - name: Shellformat - uses: reviewdog/action-shfmt@v1 - if: false - with: - level: warning - fail_on_error: "true" - shfmt_flags: "-i 2 -ci -bn" - github_token: ${{ secrets.GITHUB_TOKEN }} - - - name: Shellcheck - uses: reviewdog/action-shellcheck@v1 - with: - level: warning - fail_level: error - reporter: github-pr-review - shellcheck_flags: -x -e SC1091 -e SC2001 -e SC2002 -e SC2034 -e SC2064 -e SC2153 -e SC2317 -e SC2028 - github_token: ${{ secrets.GITHUB_TOKEN }} + uses: action-pack/.github/.github/workflows/review.yml@master