Skip to content

Create Comment

Create Comment #8

name: Create Comment
on: [workflow_dispatch]
jobs:
comment:
runs-on: ubuntu-latest
secrets: inherit

Check failure on line 6 in .github/workflows/create-comment.yml

View workflow run for this annotation

GitHub Actions / Create Comment

Invalid workflow file

The workflow is not valid. .github/workflows/create-comment.yml (Line: 6, Col: 5): Unexpected value 'secrets'
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: ${{ secrets.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 }}