build: Add review workflow for shell formatting (#1527)

This commit is contained in:
Kroese 2025-10-21 22:46:06 +02:00 committed by GitHub
parent 9236127a86
commit a0bcd719be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

19
.github/workflows/review.yml vendored Normal file
View File

@ -0,0 +1,19 @@
on:
pull_request:
name: "Review"
jobs:
review:
name: review
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v5
-
name: Review
uses: reviewdog/action-shfmt@v1
with:
shfmt_flags: "-i 2 -ci -bn"
github_token: ${{ secrets.REPO_ACCESS_TOKEN }}