step-security/Create GitHub Discussion
GitHub Action to create a new GitHub Discussion
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| title | The title of the new discussion. | yes | — |
| body | The body of the new discussion. | no | — |
| body-filepath | The path to a file containing the body of the new discussion (takes precedence over body). | no | — |
| repository-id | The ID of a repository in which to create the discussion. | no | — |
| category-id | The ID of a `DiscussionCategory` within this repository. | no | — |
| repository-name | The 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-name | The name of the discussion category in which to create the discussion (defaults to 'General'). | no | General |
| github-token | A GitHub token with the necessary permissions to create a discussion. | no | — |
Outputs
| name | description |
|---|---|
| discussion-id | ID of the created discussion |
| discussion-url | URL of the created discussion |