From 9f663054d250ad4751c4320896e4ca10ff832612 Mon Sep 17 00:00:00 2001 From: Adrien Bourroux Date: Fri, 7 Aug 2026 09:11:28 +0200 Subject: [PATCH 1/2] fix: add override_version to ansible-lint steps --- ansible-linter/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ansible-linter/action.yml b/ansible-linter/action.yml index b139d6f..1696ee2 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,7 @@ runs: if: ${{ inputs.files == '' }} uses: ansible/ansible-lint@262624cd0ab22a4221293216856c59671ce7aa5e # v26.6.0 with: + override_version: 262624cd0ab22a4221293216856c59671ce7aa5e args: ${{ inputs.args }} working_directory: ${{ inputs.working-directory }} python_version: ${{ inputs.python-version }} @@ -54,6 +54,7 @@ runs: if: ${{ inputs.files != '' }} uses: ansible/ansible-lint@262624cd0ab22a4221293216856c59671ce7aa5e # v26.6.0 with: + override_version: 262624cd0ab22a4221293216856c59671ce7aa5e args: --version working_directory: ${{ inputs.working-directory }} python_version: ${{ inputs.python-version }} From 22fed83fe51f0be8a1f0bdda81194581e9c2349b Mon Sep 17 00:00:00 2001 From: Adrien Bourroux Date: Mon, 10 Aug 2026 14:33:27 +0200 Subject: [PATCH 2/2] chore: add comment about override_version to ansible-lint steps --- ansible-linter/action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible-linter/action.yml b/ansible-linter/action.yml index 1696ee2..9a0283a 100644 --- a/ansible-linter/action.yml +++ b/ansible-linter/action.yml @@ -43,6 +43,7 @@ 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 }} @@ -54,6 +55,7 @@ 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 }}