From ec051dffe23a96471660a593eb3af9f54136f70f Mon Sep 17 00:00:00 2001 From: "Patrick J. Roddy" Date: Wed, 27 Mar 2024 15:36:45 +0000 Subject: [PATCH] Fix quotes strings error Bug reported https://github.com/adrienverge/yamllint/issues/663#issuecomment-2023055219 --- actions/linting/action.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/actions/linting/action.yml b/actions/linting/action.yml index 1db8506..0d262f4 100644 --- a/actions/linting/action.yml +++ b/actions/linting/action.yml @@ -23,10 +23,12 @@ runs: path: |- ~/.ansible ~/.cache/pre-commit - key: \ + # yamllint disable-line rule:quoted-strings + key: "\ cache-\ ${{ hashFiles(inputs.ansible-roles-config) }}-\ - ${{ hashFiles(inputs.pre-commit-config) }} + ${{ hashFiles(inputs.pre-commit-config) }}\ + " if: inputs.ansible-roles-config != 'missing' - name: Cache pre-commit