Skip to content

Commit

Permalink
Allow "yes" and "no" as truthy values, more English, more readable.
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-de-bock committed Mar 15, 2024
1 parent a47c4d1 commit 7439491
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
3 changes: 0 additions & 3 deletions .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,5 @@ exclude_paths:
- .github
- requirements.yml

skip_list:
- yaml[truthy]

enable_list:
- name[prefix]
6 changes: 1 addition & 5 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- lint
runs-on: ubuntu-20.04
strategy:
fail-fast: false
fail-fast: no
matrix:
config:
- image: "enterpriselinux"
Expand All @@ -40,10 +40,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/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/requirements2png.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ jobs:
uses: ad-m/github-push-action@master
with:
directory: ${{ github.repository }}
force: true
force: yes
branch: png
6 changes: 5 additions & 1 deletion .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 7439491

Please sign in to comment.