Skip to content

Commit

Permalink
Need approval before run the pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
guoshzhao committed Sep 18, 2024
1 parent 8de09e0 commit 4c30dad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ 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 @@ -8,6 +8,7 @@ on:

jobs:
unit-tests:
if: github.event.review.state == 'approved'
name: Build and test with torch-${{ matrix.torch }}
runs-on: [self-hosted, linux, x64, gpu]
strategy:
Expand Down

0 comments on commit 4c30dad

Please sign in to comment.