https://github.com/wow-actions/duplicate-issue
🧬 Creates a full copy of issue with a single command
https://github.com/wow-actions/duplicate-issue
duplicate github-actions issue
Last synced: about 1 year ago
JSON representation
🧬 Creates a full copy of issue with a single command
- Host: GitHub
- URL: https://github.com/wow-actions/duplicate-issue
- Owner: wow-actions
- License: mit
- Created: 2020-10-15T04:17:40.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-17T03:59:14.000Z (over 3 years ago)
- Last Synced: 2025-04-20T00:48:01.682Z (about 1 year ago)
- Topics: duplicate, github-actions, issue
- Language: TypeScript
- Homepage:
- Size: 378 KB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Duplicate Issue
> Creates a full copy of issue with a single command.
Use the default `/duplicate` command to duplicate an issue:

The duplicated issue:

## Usage
Create `.github/workflows/duplicate-issue.yml` in the default branch:
```yml
name: Duplicate Issue
on:
issue_comment:
types: [created]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: wow-actions/duplicate-issue@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```
### Inputs
- `command` - The command name to copy the issue. Default `'duplicate'`.
- `who` - Who can duplicate the issue. Default `'author'` only the author of the issue can duplicate it. Or any other values indicate any one can duplicate the issue.
- `extras` - Additional information appended to the duplicated issue body. Default `'> This issue was copied from [#{{ issueNumber }}]({{ issueUrl }}) by @{{ author }}.'`.
## License
The scripts and documentation in this project are released under the [MIT License](LICENSE).