Allow "yes" and "no" as truthy values, more English, more readable.

This commit is contained in:
Robert de Bock 2024-03-15 10:40:08 +01:00
parent f72b017804
commit e67b56a4ae
5 changed files with 8 additions and 11 deletions

View File

@ -12,8 +12,5 @@ exclude_paths:
- .github
- requirements.yml
skip_list:
- yaml[truthy]
enable_list:
- name[prefix]

View File

@ -26,7 +26,7 @@ jobs:
- lint
runs-on: ubuntu-20.04
strategy:
fail-fast: false
fail-fast: no
matrix:
config:
- image: "alpine"
@ -62,10 +62,6 @@ jobs:
uses: actions/checkout@v4
with:
path: "${{ github.repository }}"
# - name: disable apparmor for mysql
# run: sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
# - name: parse apparmor for mysql
# run: sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
- name: molecule
uses: robertdebock/molecule-action@6.0.1
with:

View File

@ -31,5 +31,5 @@ jobs:
uses: ad-m/github-push-action@master
with:
directory: ${{ github.repository }}
force: true
force: yes
branch: png

View File

@ -9,7 +9,11 @@ rules:
max-spaces-inside: 1
level: error
line-length: disable
truthy: disable
truthy:
check-keys: no
allowed-values:
- "yes"
- "no"
ignore: |
.tox/

View File

@ -70,7 +70,7 @@ This role has been tested on these [container images](https://hub.docker.com/u/r
|[Amazon](https://hub.docker.com/r/robertdebock/amazonlinux)|Candidate|
|[EL](https://hub.docker.com/r/robertdebock/enterpriselinux)|all|
|[Debian](https://hub.docker.com/r/robertdebock/debian)|all|
|[Fedora](https://hub.docker.com/r/robertdebock/fedora/)|all|
|[Fedora](https://hub.docker.com/r/robertdebock/fedora)|all|
|[opensuse](https://hub.docker.com/r/robertdebock/opensuse)|all|
|[Ubuntu](https://hub.docker.com/r/robertdebock/ubuntu)|all|