diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml new file mode 100644 index 0000000000..64d3d017d6 --- /dev/null +++ b/.github/workflows/bot.yml @@ -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/bot@v1.0.0 + 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 }} diff --git a/integration-tests/license_test.go b/integration-tests/license_test.go index 4ab26f004f..0aa9c841eb 100644 --- a/integration-tests/license_test.go +++ b/integration-tests/license_test.go @@ -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) {