Skip to content

Update test.yml

Update test.yml #6

Workflow file for this run

on: push
jobs:
curl:
runs-on: ubuntu-latest
steps:
- name: curl
env:
GRAPHQL_ENDPOINT: https://api.github.com/graphql
uses: wesleyscholl/create-discussion-comment@latest
with:
args: curl -X POST -H "Authorization: bearer ${{ secrets.GITHUB_TOKEN }}" -H "Content-Type: application/json" -d '{"query": "mutation { addDiscussionComment(input: {body: \"testing 123\" discussionId: \"D_kwDOKMfoY84AVVQz\" clientMutationId: \"8888\"}) { clientMutationId comment { id body } } }"}' ${GRAPHQL_ENDPOINT}

Check failure on line 11 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 11