Skip to content

Commit

Permalink
add event to control the workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
guoshzhao committed Sep 18, 2024
1 parent 4c30dad commit 1068d28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- main
pull_request:
types: [assigned, labeled]
branches:
- main
release:
Expand All @@ -13,7 +14,6 @@ on:

jobs:
docker:
if: github.event.review.state == 'approved'
name: Docker build ${{ matrix.name }}
runs-on: [self-hosted, linux, x64, gpu]
timeout-minutes: 600
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Unit Tests

on:
pull_request:
types: [assigned, labeled]
branches:
- main
- release/*
Expand Down

0 comments on commit 1068d28

Please sign in to comment.