command.md 5.8 KB
Newer Older
L
leonwanghui 已提交
1 2 3 4
## MindSpore Community Command Help

All of the projects in MindSpore Community are maintained by Bot.
That means the developers can comment below every Pull Request or Issue to trigger Bot Commands.
5
The Commands include the following:
L
leonwanghui 已提交
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196

<table class="command">
    <thead>
        <tr>
            <th>Command</th>
            <th width="25%">Example</th>
            <th>Description</th>
            <th>Who Can Use</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>
                /check-cla
            </td>
            <td style="white-space:nowrap;">
                /check-cla
            </td>
            <td>
                Forces rechecking of the CLA status of a Pull Request.
                If the Pull Request author has already signed CLA,
                the label `mindspore-cla/yes` will be added in the Pull Request,
                If not, the label `mindspore-cla/no` will be added.
            </td>
            <td>
                Anyone
            </td>
        </tr>
        <tr>
            <td>
                /lgtm [cancel]
            </td>
            <td style="white-space:nowrap;">
                /lgtm
                <br/>
                /lgtm cancel
            </td>
            <td>
                Adds or removes the `lgtm` label which is typically used to gate merging.
            </td>
            <td>
                Collaborators on the repository. `/lgtm cancel` can be used additionally by the Pull Request author.
            </td>
        </tr>
        <tr>
            <td>
                /approve [cancel]
            </td>
            <td style="white-space:nowrap;">
                /approve
                <br/>
                /approve cancel
            </td>
            <td>
                Adds or removes the `approved` label which is typically used to gate merging.
            </td>
            <td>
                Collaborators on the repository.
            </td>
        </tr>
        <tr>
            <td>
                /[remove-]kind
            </td>
            <td style="white-space:nowrap;">
                /kind bug
                <br/>
                /remove-kind bug
            </td>
            <td>
                Applies or removes a kind label from one of the recognized types of labels.
                For example, the label is more like `kind/bug`.
            </td>
            <td>
                Anyone can trigger this command on a Pull Request or Issue.
            </td>
        </tr>
        <tr>
            <td>
                /[remove-]priority
            </td>
            <td style="white-space:nowrap;">
                /priority high
                <br/>
                /remove-priority high
            </td>
            <td>
                Applies or removes a priority label from one of the recognized types of labels.
                For example, the label is more like `priority/high`.
            </td>
            <td>
                Anyone can trigger this command on a Pull Request or Issue.
            </td>
        </tr>
        <tr>
            <td>
                /[remove-]sig
            </td>
            <td style="white-space:nowrap;">
                /sig kernel
                <br/>
                /remove-sig kernel
            </td>
            <td>
                Applies or removes a sig label from one of the recognized types of labels.
                For example, the label is more like `sig/kernel`.
            </td>
            <td>
                Anyone can trigger this command on a Pull Request or Issue.
            </td>
        </tr>
        <tr>
            <td>
                /close
            </td>
            <td style="white-space:nowrap;">
                /close
            </td>
            <td>
                Closes a Pull Request or an Issue.
            </td>
            <td>
                Authors and collaborators on the repository can trigger this command.
            </td>
        </tr>
        <tr>
            <td>
                /reopen
            </td>
            <td style="white-space:nowrap;">
                /reopen
            </td>
            <td>
                Reopens an Issue.
            </td>
            <td>
                Authors and collaborators on the repository can trigger this command.
            </td>
        </tr>
        <tr>
            <td>
                /retest
            </td>
            <td style="white-space:nowrap;">
                /retest
            </td>
            <td>
                Rerun test jobs that have failed.
            </td>
            <td>
                Anyone can trigger this command on a Pull Request.
            </td>
        </tr>
        <tr>
            <td>
                /assign [[@]...]
            </td>
            <td style="white-space:nowrap;">
                /assign
                <br/>
                /assign @mindspore-ci-bot
            </td>
            <td>
                Assigns an assignee to an Issue.
            </td>
            <td>
                Anyone can use this command on an Issue,
                but the target user must be a member of the org that owns the repository.
                If no target user is specified, that means this Issue will be assigned to yourself.
            </td>
        </tr>
        <tr>
            <td>
                /unassign [[@]...]
            </td>
            <td style="white-space:nowrap;">
                /unassign
                <br/>
                /unassign @mindspore-ci-bot
            </td>
            <td>
                UnAssigns an assignee from an Issue.
            </td>
            <td>
                Anyone can use this command on an Issue,
                but the target user must be a member of the org that owns the repository.
                If no target user is specified, that means this Issue will be unassigned from yourself.
            </td>
        </tr>
    </tbody>
</table>