diff --git a/.github/workflows/control-instance.yml b/.github/workflows/control-instance.yml index 732517ad..62cf27a5 100644 --- a/.github/workflows/control-instance.yml +++ b/.github/workflows/control-instance.yml @@ -16,7 +16,7 @@ jobs: ${{ !github.event.issue.pull_request && ( contains(github.event.comment.body, '/unshelve') || contains(github.event.comment.body, '/shelve') || - contains(github.event.comment.body, '/delete') ) }} + contains(github.event.comment.body, '/delete_instance') ) }} steps: - name: unshelve command id: unshelve_command @@ -46,7 +46,7 @@ jobs: id: delete_command uses: github/command@v1.2.0 with: - command: "/delete" + command: "/delete_instance" reaction: "rocket" allowed_contexts: "issue" permissions: "write,maintain,admin" diff --git a/issue-commands.md b/issue-commands.md index 66292d11..81a65784 100644 --- a/issue-commands.md +++ b/issue-commands.md @@ -3,12 +3,12 @@ _The commands described below may be added as issue comments. Only one command may be entered per comment._ -| Command | Description | Who | -| --------------- | -------------------------------------------------- | -------------------- | -| `/shelve` | Shelve the instance. | Issue creator, Admin | -| `/unshelve` | Unshelve the instance. | Issue creator, Admin | -| `/encode_email` | Update issue description obfuscating email. | Issue creator, Admin | -| `/decode_email` | Update issue description deobfuscating email. | Issue creator, Admin | -| `/email` | Send email to _Issue creator_ with connection URL. | Issue creator, Admin | -| `/create` | Create the instance. | Admin | -| `/delete` | Delete the instance. | Admin | +| Command | Description | Who | +| ------------------ | -------------------------------------------------- | -------------------- | +| `/shelve` | Shelve the instance. | Issue creator, Admin | +| `/unshelve` | Unshelve the instance. | Issue creator, Admin | +| `/encode_email` | Update issue description obfuscating email. | Issue creator, Admin | +| `/decode_email` | Update issue description deobfuscating email. | Issue creator, Admin | +| `/email` | Send email to _Issue creator_ with connection URL. | Issue creator, Admin | +| `/create` | Create the instance. | Admin | +| `/delete_instance` | Delete the instance. | Admin |