https://github.com/step-security/create-issue-from-file
A GitHub action to create an issue using content from a file. Secure drop-in replacement for peter-evans/create-issue-from-file.
https://github.com/step-security/create-issue-from-file
step-security-maintained-actions
Last synced: 2 months ago
JSON representation
A GitHub action to create an issue using content from a file. Secure drop-in replacement for peter-evans/create-issue-from-file.
- Host: GitHub
- URL: https://github.com/step-security/create-issue-from-file
- Owner: step-security
- License: mit
- Created: 2026-03-18T05:33:03.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-03-30T05:09:38.000Z (2 months ago)
- Last Synced: 2026-03-30T06:57:26.998Z (2 months ago)
- Topics: step-security-maintained-actions
- Language: TypeScript
- Homepage: https://docs.stepsecurity.io/actions/stepsecurity-maintained-actions
- Size: 591 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://docs.stepsecurity.io/actions/stepsecurity-maintained-actions)
# Create Issue From File
A GitHub action to create an issue using content from a file.
This is designed to be used in conjunction with other actions that output to a file.
Especially if that output can be formatted
as [GitHub flavoured Markdown](https://docs.github.com/en/github/writing-on-github/basic-writing-and-formatting-syntax).
This action will create an issue if a file exists at a specified path.
The content of the issue will be taken from the file as-is.
If the file does not exist the action exits silently.
## Usage
```yml
- name: Create Issue From File
uses: step-security/create-issue-from-file@v6
with:
title: An example issue
content-filepath: ./example-content/output.md
labels: |
report
automated issue
```
### Action inputs
| Name | Description | Default |
|--------------------|--------------------------------------------------------------------------------------------------------------------------------------|--------------------|
| `token` | `GITHUB_TOKEN` or a `repo` scoped [PAT](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) | `GITHUB_TOKEN` |
| `repository` | The target GitHub repository | Current repository |
| `issue-number` | The issue number of an existing issue to update | |
| `title` | (**required**) The title of the issue | |
| `content-filepath` | The file path to the issue content | |
| `labels` | A comma or newline-separated list of labels | |
| `assignees` | A comma or newline-separated list of assignees (GitHub usernames) | |
### Outputs
- `issue-number` - The number of the created issue
## License
MIT License - see the [LICENSE](LICENSE) file for details