jayalfredprufrock/Create Issues
Creates new issues from a glob of markdown templates with frontmatter, optionally adding them to projects.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| template-path | Path or glob expression to templates. File names should be unique across directories. | no | .github/issues/**/*.md |
| follow-symbolic-links | Indicates whether to follow symbolic links when globbing templates. | no | true |
| repo-owner | The owner of the repo to create issues in if different than the context repo owner. Can be overridden in frontmatter with `repoOwner` | no | — |
| repo-name | The the repo name to create issues in if different than the context repo. Can be overridden in frontmatter with `repoName` | no | — |
| group | When set, issue will not be created until all issues with a smaller group number have been closed out. Can be overridden in frontmatter with `group` | no | — |
| labels | Comma separated list of labels to add to created issues. Will be merged with any labels specified in frontmatter with `labels`. | no | — |
| assignees | Comma separated list of assignees to add to created issues. Will be merged with any assignees specified in frontmatter with `assignees`. | no | — |
| milestone | Milestone number to associate with created issues. Can be overridden in frontmatter with `milestone`. | no | — |
| github-token | GitHub token or PAT with permissions to create issues and projects in the specified repos. | no | ${{ github.token }} |
| project-owner | The owner of the project if different than the context repo owner. Can be overridden in frontmatter with `projectOwner` | no | — |
| project-number | The number of the project (found in the url) if the issue should be added to the project. Can be overridden in frontmatter with `projectNumber` | no | — |
| project-fields | Stringified JSON object of fields/values to add to project items. Will be merged with any fields specified in frontmatter with `projectFields`. | no | — |
| project-github-token | GitHub PAT token to use solely for adding issues to projects. Will use `github-token` input if not present. | no | — |
Outputs
| name | description |
|---|---|
| issues | Map of template names (excluding file extension) containing issue/project info. Use fromJSON to parse output string. e.g. fromJSON(steps.create-issues.outputs.issues)['template-name'].issue-node-id Available fields: `issue-url`, `issue-node-id`, `issue-number`, `issue-repo`, `issue-repo-owner`, `issue-repo-name`, `project-item-id`, `project-owner`, `project-number` |