mirror of
https://github.com/dockur/windows.git
synced 2025-12-19 08:50:37 +00:00
build: Add review workflow for shell formatting (#1527)
This commit is contained in:
19
.github/workflows/review.yml
vendored
Normal file
19
.github/workflows/review.yml
vendored
Normal 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 }}
|
||||||
Reference in New Issue
Block a user