From 94466ee03e95fcf79ad6c4b4a81fb1991e707007 Mon Sep 17 00:00:00 2001 From: Mircea-Pavel ANTON Date: Sat, 19 Oct 2024 16:37:20 +0000 Subject: [PATCH] try fix lint? --- .github/workflows/link-checker.yaml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/link-checker.yaml b/.github/workflows/link-checker.yaml index e34f3e6..215f2d0 100644 --- a/.github/workflows/link-checker.yaml +++ b/.github/workflows/link-checker.yaml @@ -86,13 +86,8 @@ jobs: - name: Find Link Checker Issue id: find-issue run: | - issue_number=$( \ - gh issue list \ - --search "in:title $WORKFLOW_ISSUE_TITLE" \ - --state open \ - --json number \ - | jq --raw-output '.[0].number' \ - ) + gh_output=$(gh issue list --state=open --json=number --search="in:title $WORKFLOW_ISSUE_TITLE") + issue_number=$(echo "$gh_output" | jq --raw-output '.[0].number') echo "issue-number=${issue_number}" >> $GITHUB_OUTPUT echo "${issue_number}" env: