mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add issue comment to trigger job (#13398)
Signed-off-by: Jenny Li <jing.li@zilliz.com>pull/13421/head
parent
f480b314d9
commit
4023447506
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue