From ed2b6e911569708ed121c14b87d513860a7e36a7 Mon Sep 17 00:00:00 2001 From: Ilir Bekteshi Date: Thu, 19 Aug 2021 18:14:17 +0200 Subject: [PATCH 1/2] Fix script not catching exit code (#29) --- entrypoint.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index a9205ad..153ef1b 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -27,4 +27,8 @@ shopt -s globstar yamllint "${options[@]}" ${INPUT_FILE_OR_DIR:-.} +exitcode=$? + shopt -u globstar + +exit $exitcode From 0d4bd669604e73d8103c9c87f3e652c30a3cab19 Mon Sep 17 00:00:00 2001 From: Jeff Widman Date: Tue, 31 Aug 2021 02:29:11 -0700 Subject: [PATCH 2/2] Use latest version of checkout action (#30) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 16ffad0..00eb325 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ jobs: lintAllTheThings: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: yaml-lint uses: ibiqlik/action-yamllint@v3 ```