From 76d09efb9f18de7dc912211afe695addb9c8d682 Mon Sep 17 00:00:00 2001 From: Kisaragi Marine Date: Fri, 31 May 2024 08:10:57 +0900 Subject: [PATCH] ci: lift `$TERM` to `env` clause --- .github/workflows/validate-renovate-custom-managers.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/validate-renovate-custom-managers.yml b/.github/workflows/validate-renovate-custom-managers.yml index e5dbfbf2..c5622792 100644 --- a/.github/workflows/validate-renovate-custom-managers.yml +++ b/.github/workflows/validate-renovate-custom-managers.yml @@ -14,10 +14,10 @@ jobs: steps: - uses: actions/checkout@v4 - name: check + env: + # `tput` complains that there are no default value + TERM: xterm run: | - if [ -z "$TERM" ]; then - export TERM=xterm - fi root_file="$(mktemp)" git_root="$(git rev-parse --show-toplevel)" jq '[.customManagers | .[] | select(.customType == "regex")]' < "$git_root/renovate.json" > "$root_file"