Deny PRs where shfmt doesn't pass

This commit is contained in:
selfhoster1312 2024-08-30 19:27:51 +02:00 committed by Félix Piédallu
parent 8a5f2808a1
commit 701725bbfb

14
.github/workflows/shfmt.yml vendored Normal file
View file

@ -0,0 +1,14 @@
name: shfmt
on:
pull_request:
paths:
- "helpers/**"
- "hooks/**"
jobs:
shfmt:
name: shfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: sudo apt install shfmt
- run: ./maintenance/shfmt.sh --diff