Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thomasvjoseph/create-github-issue
A GitHub Action to automate issue creation in your repositories. This action allows you to create issues programmatically by specifying a title, body, labels, and assignees. It uses the GitHub API and can be easily integrated into workflows to streamline issue management.
https://github.com/thomasvjoseph/create-github-issue
cicd github-actions issues issues-only pipeline
Last synced: about 1 month ago
JSON representation
A GitHub Action to automate issue creation in your repositories. This action allows you to create issues programmatically by specifying a title, body, labels, and assignees. It uses the GitHub API and can be easily integrated into workflows to streamline issue management.
- Host: GitHub
- URL: https://github.com/thomasvjoseph/create-github-issue
- Owner: thomasvjoseph
- License: mit
- Created: 2024-12-04T13:51:52.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-05T04:56:29.000Z (about 1 month ago)
- Last Synced: 2024-12-05T05:24:36.609Z (about 1 month ago)
- Topics: cicd, github-actions, issues, issues-only, pipeline
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub Issue Creator Action
This GitHub Action allows you to programmatically create issues in a GitHub repository based on user-defined inputs such as title, body, labels, and assignees.
## Features
• Create issues with a title and description.
• Add labels and assign users to the issue.
• Fully customizable using input parameters.## Inputs
| Input | Description | Required | Default |
|-------------------|------------------------------------|----------|------------------------|
| `GITHUB_TOKEN` | Token for authenticating GitHub API. | Yes | `secrets.GITHUB_TOKEN` |
| `INPUT_TITLE` | Title of the issue. | Yes | N/A |
| `INPUT_BODY` | Body of the issue. | No | "" |
| `INPUT_LABELS` | Comma-separated list of labels. | No | "" |
| `INPUT_ASSIGNEES` | Comma-separated list of assignees. | No | "" |## Usage
Here’s an example of how to use this action in your GitHub Actions workflow:
name: Create GitHub Issue
```yamlon:
workflow_dispatch:jobs:
create-issue:
runs-on: ubuntu-latest
steps:
- name: Create GitHub Issue
uses: thomasvjoseph/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
INPUT_TITLE: "Bug Report"
INPUT_BODY: "Description of the bug."
INPUT_LABELS: "bug, urgent"
INPUT_ASSIGNEES: "username1,username2"
```
## How It Works1. Inputs: You provide the title, body, labels, and assignees for the issue via the workflow file.
2. Execution: The Action uses the GitHub API to create the issue in the repository where the workflow is executed.## Contributing
Contributions are welcome! Feel free to submit issues or pull requests to improve this project.
## License
This project is licensed under the MIT License. See [LICENSE](LICENSE) for more details.
## Author:
thomas joseph
- [linkedin](https://www.linkedin.com/in/thomas-joseph-88792b132/)
- [medium](https://medium.com/@thomasvjoseph)