소스 검색

Update error-db.yml

[ci skip]
Sebastian Stenzel 2 년 전
부모
커밋
12302162b1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      .github/workflows/error-db.yml

+ 1 - 1
.github/workflows/error-db.yml

@@ -41,7 +41,7 @@ jobs:
       - name: Transform JSON
         id: transform-json
         run: |
-          RESULT=$(echo ${JSON_DATA} | jq -s -c ".repository.discussion")
+          RESULT=$(echo ${JSON_DATA} | jq -c '.repository.discussion | .comments = .comments.totalCount')
           echo "::set-output name=result::${RESULT}"
         env:
           JSON_DATA: ${{ steps.query-data.outputs.result }}