From 6792dea5c660f791342a8f355a56dc389a1181f6 Mon Sep 17 00:00:00 2001 From: Wenhao Xie Date: Mon, 29 Dec 2025 23:04:00 +0800 Subject: [PATCH] [CI] Refactor PR regression test job conditions Updated the conditions for the performance regression test job. --- .github/workflows/pr-regression-test-bot.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-regression-test-bot.yml b/.github/workflows/pr-regression-test-bot.yml index 4b36c93f2..568ce8555 100644 --- a/.github/workflows/pr-regression-test-bot.yml +++ b/.github/workflows/pr-regression-test-bot.yml @@ -33,6 +33,10 @@ env: jobs: permissions-check: name: Check bot permissions + if: | + github.repository_owner == 'tile-ai' && + github.event.issue.pull_request && + (contains(github.event.comment.body, '@regression-perf')) runs-on: ubuntu-latest steps: - name: Get commenter permission @@ -53,10 +57,6 @@ jobs: pr-regression: name: Performance regression test between PR and main - if: | - github.repository_owner == 'tile-ai' && - github.event.issue.pull_request && - (contains(github.event.comment.body, '@regression-perf')) needs: [permissions-check] runs-on: ${{ matrix.runner.tags }} strategy: