Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

Duplicate Issue

Actions
Creates a full copy of issue with a single command
v1.0.0
Star (4)

Tags

 (1)

Duplicate Issue

Creates a full copy of issue with a single command.

Use the default /duplicate command to duplicate an issue:

command

The duplicated issue:

duplicated

Usage

Create .github/workflows/duplicate-issue.yml in the default branch:

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.

Duplicate Issue is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Creates a full copy of issue with a single command
v1.0.0

Tags

 (1)

Duplicate Issue is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.