From 877fec669e836277b91dcb2452a4de02c34636be Mon Sep 17 00:00:00 2001 From: Ashhar Hasan Date: Fri, 9 Jun 2023 14:13:17 +0530 Subject: [PATCH] Do not run ok-to-test workflow on forks --- .github/workflows/ok-to-test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ok-to-test.yml b/.github/workflows/ok-to-test.yml index 93014719766d..31cbbb9e4b8f 100644 --- a/.github/workflows/ok-to-test.yml +++ b/.github/workflows/ok-to-test.yml @@ -7,6 +7,7 @@ on: jobs: test-with-secrets: + if: github.repository_owner == 'trinodb' runs-on: ubuntu-latest # Only run for PRs, not issue comments if: ${{ github.event.issue.pull_request }}