From 187d9f32a1b49eaf0726322c691a0422afe13c0d Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Wed, 22 May 2024 14:20:24 -0400 Subject: [PATCH] fix(workflows): switch to use `github.repository_owner` to fix forked pr failures (#4587) Signed-off-by: Rui Chen --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a6fcb598af..6c36686510 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -104,7 +104,7 @@ jobs: e2e-github: runs-on: ubuntu-latest # dont run e2e tests on forked PRs - if: github.repository == 'runatlantis/atlantis' + if: github.repository_owner == 'runatlantis' env: TERRAFORM_VERSION: 1.8.3 ATLANTISBOT_GITHUB_USERNAME: ${{ secrets.ATLANTISBOT_GITHUB_USERNAME }}