mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Deny PRs where shfmt doesn't pass
This commit is contained in:
parent
8a5f2808a1
commit
701725bbfb
1 changed files with 14 additions and 0 deletions
14
.github/workflows/shfmt.yml
vendored
Normal file
14
.github/workflows/shfmt.yml
vendored
Normal 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
|
Loading…
Add table
Reference in a new issue