Skip to content

Commit

Permalink
fix(workflows): switch to use github.repository_owner to fix forked…
Browse files Browse the repository at this point in the history
… pr failures (#4587)

Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 authored May 22, 2024
1 parent 5129f49 commit 187d9f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 187d9f3

Please sign in to comment.