Skip to content

Commit

Permalink
fix(test-ansible-collection): replace targets with path
Browse files Browse the repository at this point in the history
  • Loading branch information
hairmare committed Nov 13, 2022
1 parent be41bcc commit 1df0a0c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test-ansible-collection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ name: Lint and Test
on:
workflow_call:
inputs:
targets:
description: Roles to check
required: true
path:
description: Specific path to lint instead of the default `.`.
required: false
type: string
default: "/github/workspace"

jobs:
lint:
Expand All @@ -29,4 +30,4 @@ jobs:
- name: Lint with ansible-lint
uses: ansible-community/ansible-lint-action@v6
with:
targets: ${{ inputs.targets }}
path: ${{ inputs.targets }}

0 comments on commit 1df0a0c

Please sign in to comment.