Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jromero/issue-generation-action
An issue generation queue for your pull requests.
https://github.com/jromero/issue-generation-action
Last synced: about 1 month ago
JSON representation
An issue generation queue for your pull requests.
- Host: GitHub
- URL: https://github.com/jromero/issue-generation-action
- Owner: jromero
- License: apache-2.0
- Created: 2021-07-12T20:39:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-11T20:43:51.000Z (over 3 years ago)
- Last Synced: 2024-10-14T09:12:18.264Z (3 months ago)
- Language: TypeScript
- Size: 348 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Issues Generation
This solution is broken into two parts:
1. A CLI set of entry points that provides utility functions
2. A default entrypoint for GitHub actions to manage "queued" issues.### Terminology
- **Queued Issue:** An issue that is to be created when the PR is merged.
## Usage
### CLI
#### Install
```shell
npm i -g issues-generation
```#### Usage
```shell
$ issues-generation --help
Usage: issues-generation [options] [command]Options:
-h, --help display help for commandCommands:
action process GitHub Action events
list [options] list queued issues for a pull request
create [options] create queued issues for a pull request
help [command] display help for command
```### GitHub Actions
#### Usage
```yaml
name: Issues Generationconcurrency: issues-generation
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
pull_request_target:
types: [opened, reopened]jobs:
issue-generation-bot:
if: ${{ github.event.issue.pull_request || github.event.pull_request }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Issue Generation
uses: jromero/[email protected]
id: issues-generation
with:
github-token: ${{ secrets.BOT_GITHUB_TOKEN }}
bot-username: my-bot-account```
## Development
When done making all your changes, run the following command to lint, test and compile:
```shell
npm run prepare-for-pr
```