diff --git a/.github/workflows/utitcase-jdk11.yml b/.github/workflows/utitcase-jdk11.yml index 81cb0f7fb8a37..bdd5c67e7336a 100644 --- a/.github/workflows/utitcase-jdk11.yml +++ b/.github/workflows/utitcase-jdk11.yml @@ -19,21 +19,22 @@ name: UTCase and ITCase Others on JDK 11 on: - # just for debug - push: - pull_request: - paths-ignore: - - 'docs/**' - - '**/*.md' + issue_comment: + types: [created, edited, deleted] + +# debug +# # daily run +# schedule: +# - cron: "0 0 * * *" env: JDK_VERSION: 11 jobs: build: -# if: | -# github.event_name == 'schedule' || -# (contains(github.event.comment.html_url, '/pull/') && contains(github.event.comment.body, '/jdk11')) + if: | + github.event_name == 'schedule' || + (contains(github.event.comment.html_url, '/pull/') && contains(github.event.comment.body, '/jdk11')) runs-on: ubuntu-latest steps: