diff --git a/README.md b/README.md index c7f3912..a2964af 100644 --- a/README.md +++ b/README.md @@ -36,8 +36,6 @@ jobs: go-version: "*" - run: "go test -coverprofile=coverage.out -covermode=count ./..." - uses: seriousben/go-patch-cover-action@v1 - with: - version: main ``` Please see [GitHub's documentation on Actions](https://docs.github.com/en/actions) for extensive diff --git a/action.yaml b/action.yaml index 51def57..316fce3 100644 --- a/action.yaml +++ b/action.yaml @@ -149,7 +149,7 @@ runs: done else gh api graphql -X POST -F subjectId=$PULL_REQUEST_NODE_ID -F body="$comment_body" -f query=' - mutation AddComment($subjectId: String!, $body: String!) { + mutation AddComment($subjectId: ID!, $body: String!) { addComment(input: {subjectId: $subjectId, body: $body}) { clientMutationId }