From 780b2959f7bcafb35d40a9cf7849467b37fd4d97 Mon Sep 17 00:00:00 2001 From: strtgbb <146047128+strtgbb@users.noreply.github.com> Date: Thu, 5 Mar 2026 08:05:08 -0500 Subject: [PATCH] fix PR dispatch broken by 1468 --- .github/workflows/pull_request.yml | 2 +- ci/workflows/pull_request.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 388516e15388..5eb896789b62 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -41,7 +41,7 @@ jobs: config_workflow: runs-on: [self-hosted, altinity-on-demand, altinity-style-checker-aarch64] needs: [] - if: ${{ github.repository == github.event.pull_request.head.repo.full_name }} + if: ${{ github.repository == github.event.pull_request.head.repo.full_name || github.event_name == 'workflow_dispatch' }} name: "Config Workflow" outputs: data: ${{ steps.run.outputs.DATA }} diff --git a/ci/workflows/pull_request.py b/ci/workflows/pull_request.py index e92e55bd9b13..165458fab0c2 100644 --- a/ci/workflows/pull_request.py +++ b/ci/workflows/pull_request.py @@ -37,7 +37,7 @@ name="PR", event=Workflow.Event.PULL_REQUEST, base_branches=[BASE_BRANCH, "releases/*", "antalya-*"], - if_condition="github.repository == github.event.pull_request.head.repo.full_name", + if_condition="github.repository == github.event.pull_request.head.repo.full_name || github.event_name == 'workflow_dispatch'", jobs=[ # JobConfigs.style_check, # NOTE (strtgbb): we don't run style check # JobConfigs.docs_job, # NOTE (strtgbb): we don't build docs