未验证 提交 40234475 编写于 作者: J Jenny Li 提交者: GitHub

[skip ci] Add issue comment to trigger job (#13398)

Signed-off-by: NJenny Li <jing.li@zilliz.com>
上级 f480b314
......@@ -3,7 +3,8 @@ name: Code Checker
# This workflow is triggered on pushes or pull request to the repository.
on:
workflow_dispatch:
issue_comment:
types: [created]
pull_request:
# file paths to consider in the event. Optional; defaults to all.
paths:
......@@ -23,6 +24,7 @@ on:
jobs:
ubuntu:
if: "github.event_name == 'pull_request' || (github.event_name == 'issue_comment'&& startsWith(github.event.comment.body, '/run-checks'))"
name: Code Checker AMD64 Ubuntu ${{ matrix.ubuntu }}
runs-on: ubuntu-latest
timeout-minutes: 60
......
......@@ -3,7 +3,8 @@ name: Build and test
# This workflow is triggered on pushes or pull request to the repository.
on:
workflow_dispatch:
issue_comment:
types: [created]
push:
# file paths to consider in the event. Optional; defaults to all.
paths:
......@@ -35,6 +36,7 @@ on:
jobs:
ubuntu:
if: "github.event_name == 'pull_request' || (github.event_name == 'issue_comment'&& startsWith(github.event.comment.body, '/run-checks'))"
name: Build and test AMD64 Ubuntu ${{ matrix.ubuntu }}
runs-on: ubuntu-latest
timeout-minutes: 90
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册