Skip to content
play

GitHub Action

Github CI Bot

v1 Latest version

Github CI Bot

play

Github CI Bot

Have a CI Bot automatically do things for you

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Github CI Bot

uses: wzshiming/gh-ci-bot@v1

Learn more about this action in wzshiming/gh-ci-bot

Choose a version

gh-ci-bot

Simply introducing a Action gives you the ability to execute the following commands on Issue/PR.

It is better to use with CodeOwners of Github.

Command Example Description Plugin
/retitle /retitle New Title Edits the PR or issue title. retitle
/[un]cc [[@]...] /cc
/uncc
/cc @wzshiming
Requests a review from the user(s). Must be a Member. cc
/auto-cc /auto-cc Requests a review from the random Reviewer. auto-cc
/[un]assign [[@]...] /assign
/unassign
/assign @wzshiming
Assigns assignee(s) to the PR or issue. assign
/[remove-]milestone [milestone] /milestone v1.0.0
/remove-milestone
Edits the PR or issue milestone. Milestone need to be created manually in advance. milestone
/close /close Closes an PR or issue. lifecycle
/reopen /reopen Reopen an PR or issue. lifecycle
/merge [rebase|squash] /merge
/merge rebase
/merge squash
Merge a PR. merge
/retest /retest Retest all failed test of PR. retest
/[remove-]kind [...] /kind doc
/remove-kind doc
Applies or removes the 'kind/*' labels to an PR or issue. Labels need to be created manually in advance. kind
/[remove-]label [...] /label doc
/remove-label doc
Applies or removes the '*' labels to an PR or issue. Labels need to be created manually in advance. label
/[remove-]lgtm /lgtm
/remove-lgtm
Applies or removes the 'lgtm' labels to an PR or issue. Labels need to be created manually in advance. lgtm
/[remove-]help-wanted /help-wanted
/remove-help-wanted
Applies or removes the 'help wanted' labels to an PR or issue. label-help-wanted
/[remove-]good-first-issue /good-first-issue
/remove-good-first-issue
Applies or removes the 'good first issue' labels to an PR or issue. label-good-first-issue
/[remove-]bug /bug
/remove-bug
Applies or removes the 'bug' labels to an PR or issue. label-bug
/[remove-]documentation /documentation
/remove-documentation
Applies or removes the 'documentation' labels to an PR or issue. label-documentation
/[remove-]duplicate /duplicate
/remove-duplicate
Applies or removes the 'duplicate' labels to an PR or issue. label-duplicate
/[remove-]enhancement /enhancement
/remove-enhancement
Applies or removes the 'enhancement' labels to an PR or issue. label-enhancement
/[remove-]invalid /invalid
/remove-invalid
Applies or removes the 'invalid' labels to an PR or issue. label-invalid
/[remove-]question /question
/remove-question
Applies or removes the 'question' labels to an PR or issue. label-question
/[remove-]wontfix /wontfix
/remove-wontfix
Applies or removes the 'wontfix' labels to an PR or issue. label-wontfix
/base [branch] /base main Change to which branch this PR is to be merged into base
/rebase /rebase Rebase the this PR to the latest of the branch rebase

License

Licensed under the MIT License. See LICENSE for the full license text.