abirismyname/Create GitHub Discussion

GitHub Action to create a new GitHub Discussion

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Mar 20, 2025
License
ISC

Pinned Snippet

workflow.ymlSHA-pinned
uses: abirismyname/create-discussion@c2b7c825241769dda523865ae444a879f6bbd0e0 # v2.1.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
titleThe title of the new discussion. yes
bodyThe body of the new discussion. no
body-filepathThe path to a file containing the body of the new discussion (takes precedence over body). no
repository-idThe ID of a repository in which to create the discussion. no
category-idThe ID of a `DiscussionCategory` within this repository. no
repository-nameThe name and owner of the repository in which to create the discussion (e.g., github/octocat). If not provided, the action will use the repository that the Action is running in. no${{ github.repository }}
category-nameThe name of the discussion category in which to create the discussion (defaults to 'General'). noGeneral
github-tokenA GitHub token with the necessary permissions to create a discussion. no
namedescription
discussion-idID of the created discussion
discussion-urlURL of the created discussion