mirror of
https://github.com/ivuorinen/docker-php-with-imagick-multi.git
synced 2026-03-13 00:59:37 +00:00
fix: add yamllint config and remove trailing blank line in pr-build.yml (#80)
Add root .yamllint.yml with relaxed rules matching the megalinter config and disable the truthy rule that flags `on:` in GitHub Actions workflows. Remove trailing blank line from pr-build.yml.
This commit is contained in:
1
.github/workflows/pr-build.yml
vendored
1
.github/workflows/pr-build.yml
vendored
@@ -188,4 +188,3 @@ jobs:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
issue-number: ${{ github.event.pull_request.number }}
|
||||
body-file: comment.md
|
||||
|
||||
|
||||
13
.yamllint.yml
Normal file
13
.yamllint.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
extends: default
|
||||
rules:
|
||||
braces:
|
||||
max-spaces-inside: 1
|
||||
new-lines:
|
||||
level: warning
|
||||
type: unix
|
||||
line-length:
|
||||
max: 500
|
||||
comments:
|
||||
min-spaces-from-content: 1
|
||||
truthy: disable
|
||||
Reference in New Issue
Block a user