benbalter/Schedule Discussion Post Action
This action will create a discussion post in a repository at a scheduled time.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| repo_token | The default GitHub Actions token | no | ${{ github.token }} |
| discussion_token | A PAT with `discussion:write` scope for the target repository | no | — |
| files | A JSON-encoded list of paths to process, otherwise all `*.md` files in the repository will be processed | no | "" |
| drafts_dir | The directory to search for draft markdown files. Supports subdirectories. Defaults to the repository root. | no | ./ |
| dry_run | Whether to actually create the post | no | false |
Outputs
| name | description |
|---|---|
| published_count | The number of discussion posts that were published |
| skipped_count | The number of drafts that were skipped (future, already published, or invalid) |
| published_urls | A JSON array of URLs for the published discussion posts |