Ver Fonte

Update error-db.yml

[ci skip]
Sebastian Stenzel há 2 anos atrás
pai
commit
12302162b1
1 ficheiros alterados com 1 adições e 1 exclusões
  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 }}