Skip to content

Commit

Permalink
Add rerun feature test command to repo (#311)
Browse files Browse the repository at this point in the history
* Add rerun feature test command to repo

Signed-off-by: xiaolong.ran <[email protected]>

* rename bot.yaml

Signed-off-by: xiaolong.ran <[email protected]>

* fix ci error

Signed-off-by: xiaolong.ran <[email protected]>

* fix ci error

Signed-off-by: xiaolong.ran <[email protected]>
  • Loading branch information
wolfstudy authored Jul 10, 2020
1 parent 9065cb7 commit 80fd41f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Bot tests
on:
issue_comment:
types: [created]

jobs:
bot:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Bot actions
uses: zymap/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GO_CLIENT_BOT_TOKEN }}
with:
repo_owner: apache
repo_name: pulsar-client-go
rerun_cmd: rerun failure checks
comment: ${{ github.event.comment.body }}
1 change: 1 addition & 0 deletions integration-tests/license_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ var otherCheck = regexp.MustCompile(`#

var skip = map[string]bool{
"../pulsar/internal/pulsar_proto/PulsarApi.pb.go": true,
"../.github/workflows/bot.yaml": true,
}

func TestLicense(t *testing.T) {
Expand Down

0 comments on commit 80fd41f

Please sign in to comment.