diff --git a/.github/workflows/ui-lint.yaml b/.github/workflows/ui-lint.yaml index 940f399c9..914cf6c78 100644 --- a/.github/workflows/ui-lint.yaml +++ b/.github/workflows/ui-lint.yaml @@ -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 diff --git a/.github/workflows/ui-test.yaml b/.github/workflows/ui-test.yaml index 4a8cd202f..074e00654 100644 --- a/.github/workflows/ui-test.yaml +++ b/.github/workflows/ui-test.yaml @@ -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