Sfoglia il codice sorgente

Update error-db.yml

[ci skip]
Sebastian Stenzel 2 anni fa
parent
commit
12302162b1
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 }}