From d6ad111e3b4656c3655d4861eae1b04669f1978f Mon Sep 17 00:00:00 2001 From: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com> Date: Fri, 20 Feb 2026 14:21:14 -0800 Subject: [PATCH] Removed repo check --- .github/workflows/integration-tests-manual.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/integration-tests-manual.yml b/.github/workflows/integration-tests-manual.yml index eb7c9859b4..3b9d3d975f 100644 --- a/.github/workflows/integration-tests-manual.yml +++ b/.github/workflows/integration-tests-manual.yml @@ -45,7 +45,6 @@ jobs: PR_NUMBER: ${{ github.event.inputs.pr-number }} BRANCH: ${{ github.event.inputs.branch }} REPO: ${{ github.repository }} - REPO_OWNER: ${{ github.repository_owner }} run: | if [ -n "$PR_NUMBER" ] && [ -n "$BRANCH" ]; then echo "::error::Please provide either a PR number or a branch name, not both." @@ -63,20 +62,14 @@ jobs: exit 1 fi - PR_DATA=$(gh pr view "$PR_NUMBER" --repo "$REPO" --json state,headRepository,headRepositoryOwner) + PR_DATA=$(gh pr view "$PR_NUMBER" --repo "$REPO" --json state) PR_STATE=$(echo "$PR_DATA" | jq -r '.state') - HEAD_OWNER=$(echo "$PR_DATA" | jq -r '.headRepositoryOwner.login') if [ "$PR_STATE" != "OPEN" ]; then echo "::error::PR #$PR_NUMBER is not open (state: $PR_STATE)" exit 1 fi - if [ "$HEAD_OWNER" != "$REPO_OWNER" ]; then - echo "::error::PR #$PR_NUMBER is from a fork ($HEAD_OWNER). Running integration tests against fork PRs is not allowed for security reasons." - exit 1 - fi - echo "checkout-ref=refs/pull/$PR_NUMBER/head" >> "$GITHUB_OUTPUT" echo "Running integration tests for PR #$PR_NUMBER" else