From 1df0a0ca8064f0f53fa5fa8ddbe49e5c16c8f752 Mon Sep 17 00:00:00 2001 From: Lucas Date: Sun, 13 Nov 2022 18:45:47 +0100 Subject: [PATCH] fix(test-ansible-collection): replace targets with path --- .github/workflows/test-ansible-collection.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-ansible-collection.yaml b/.github/workflows/test-ansible-collection.yaml index 3291dbf..d97fa71 100644 --- a/.github/workflows/test-ansible-collection.yaml +++ b/.github/workflows/test-ansible-collection.yaml @@ -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: @@ -29,4 +30,4 @@ jobs: - name: Lint with ansible-lint uses: ansible-community/ansible-lint-action@v6 with: - targets: ${{ inputs.targets }} + path: ${{ inputs.targets }}