Skip to content

Commit

Permalink
ansible-lint: Use better workaround for truthy yaml keys
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Teufelberger <[email protected]>
  • Loading branch information
Markus Teufelberger committed Jun 6, 2023
1 parent cc04f4c commit 4f25aca
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ansible-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later

name: ansible-lint
on: # yamllint disable-line rule:truthy
"on":
pull_request:
branches: ["main", "stable-*"]
jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ansible-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# https://github.com/marketplace/actions/ansible-test

name: EOL CI
on: # yamllint disable-line rule:truthy
"on":
# Run EOL CI against all pushes (direct commits, also merged PRs), Pull Requests
push:
branches:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: Collection Docs
concurrency:
group: docs-pr-${{ github.head_ref }}
cancel-in-progress: true
on: # yamllint disable-line rule:truthy
"on":
pull_request_target:
types: [opened, synchronize, reopened, closed]

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: Collection Docs
concurrency:
group: docs-push-${{ github.sha }}
cancel-in-progress: true
on: # yamllint disable-line rule:truthy
"on":
push:
branches:
- main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later

name: execution environment
on: # yamllint disable-line rule:truthy
"on":
# Run CI against all pushes (direct commits, also merged PRs), Pull Requests
push:
branches:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

name: Verify REUSE

on: # yamllint disable-line rule:truthy
"on":
push:
branches: [main]
pull_request:
Expand Down

0 comments on commit 4f25aca

Please sign in to comment.