mirror of
https://github.com/Canner/WrenAI.git
synced 2026-09-24 23:29:49 +08:00
prevent ai service from running ui workflow (#110)
This commit is contained in:
@@ -5,7 +5,7 @@ name: Wren-UI Lint
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [ labeled ]
|
||||
types: [ labeled, synchronize ]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -22,7 +22,7 @@ defaults:
|
||||
jobs:
|
||||
eslint:
|
||||
# run this job only if the PR is labeled with "ci/ui"
|
||||
if: ${{ github.event.label.name == 'ci/ui' || github.event_name == 'push'}}
|
||||
if: ${{ github.event.label.name == 'ci/ui' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
@@ -4,7 +4,7 @@ name: Wren-UI Test
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [ labeled ]
|
||||
types: [ labeled, synchronize ]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -21,7 +21,7 @@ defaults:
|
||||
jobs:
|
||||
unit-test:
|
||||
# run this job only if the PR is labeled with "ci/ui"
|
||||
if: ${{ github.event.label.name == 'ci/ui' || github.event_name == 'push'}}
|
||||
if: ${{ github.event.label.name == 'ci/ui'}}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user