diff --git a/ansible-linter/action.yml b/ansible-linter/action.yml index b139d6f..9a0283a 100644 --- a/ansible-linter/action.yml +++ b/ansible-linter/action.yml @@ -22,7 +22,6 @@ inputs: description: "Path to a requirements.yml file used to install roles and collections before linting." required: false default: "" - files: description: | List of files to lint. @@ -44,6 +43,8 @@ runs: if: ${{ inputs.files == '' }} uses: ansible/ansible-lint@262624cd0ab22a4221293216856c59671ce7aa5e # v26.6.0 with: + # Nested composites resolve github.action_ref to the parent; keep this SHA in sync with `uses`. + override_version: 262624cd0ab22a4221293216856c59671ce7aa5e args: ${{ inputs.args }} working_directory: ${{ inputs.working-directory }} python_version: ${{ inputs.python-version }} @@ -54,6 +55,8 @@ runs: if: ${{ inputs.files != '' }} uses: ansible/ansible-lint@262624cd0ab22a4221293216856c59671ce7aa5e # v26.6.0 with: + # Nested composites resolve github.action_ref to the parent; keep this SHA in sync with `uses`. + override_version: 262624cd0ab22a4221293216856c59671ce7aa5e args: --version working_directory: ${{ inputs.working-directory }} python_version: ${{ inputs.python-version }}