Skip to content

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.

License

Notifications You must be signed in to change notification settings

thomasvjoseph/create-github-issue

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

on:
  workflow_dispatch:

jobs:
  create-issue:
    runs-on: ubuntu-latest
    steps:
      - name: Create GitHub Issue
        uses: thomasvjoseph/github-issues@v0.0.8
        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 Works

1.	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 for more details.

Author:

thomas joseph

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published