From 292f14459049aab09c566522ccac3ad7a0b5ab3a Mon Sep 17 00:00:00 2001 From: Wolf Date: Mon, 24 Jun 2024 18:37:26 +0100 Subject: [PATCH] Add capabilities to support multiple requirements files --- CITATION.cff | 4 ++-- pipeline.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index b267ef6..98a1e33 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -3,8 +3,8 @@ message: If you use this software, please cite it using these metadata. title: GitHub Action Linter abstract: A tool to lint your GitHub action files with actionlint. type: software -version: 0.1.0 -date-released: 2024-05-22 +version: 0.1.1 +date-released: 2024-06-24 repository-code: https://github.com/CICDToolbox/action-lint keywords: - "Wolf Software" diff --git a/pipeline.sh b/pipeline.sh index a2b6a58..dd14eb0 100755 --- a/pipeline.sh +++ b/pipeline.sh @@ -273,7 +273,7 @@ function install_prerequisites() fail "${CMD[*]}" "${errors}" true exit "${EXIT_VALUE}" fi - done < <(find . -name 'requirements.txt' -type f -not -path "./.git/*" | sed 's|^./||' | sort -Vf || true) + done < <(find . -name 'requirements.txt*' -type f -not -path "./.git/*" | sed 's|^./||' | sort -Vf || true) fi }