Skip to content

Create Comment

Create Comment #11

name: Create Comment
on: [workflow_dispatch]
jobs:
comment:
runs-on: ubuntu-latest
steps:
- name: Checkout this repo
uses: actions/checkout@v2
- name: Run create-discussion-comment
uses: wesleyscholl/create-discussion-comment@v1.0.7
id: create-comment
with:
discussion-id: 'D_kwDOKEe7W84AVXOO'
client-mutation-id: '8888'
token: ${{ github.token }}
body: "This is a test comment from a GitHub action"
- name: echo output from create-discussion-comment
run: |
echo ${{ steps.create-comment.outputs.commentid }}