Skip to content

Commit

Permalink
fix(worfklows): bypass e2e checks for forked prs (#4592)
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <[email protected]>
Co-authored-by: Rui Chen <[email protected]>
  • Loading branch information
lukemassa and chenrui333 authored May 23, 2024
1 parent d819dbe commit 3417886
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ jobs:
e2e-github:
runs-on: ubuntu-latest
# dont run e2e tests on forked PRs
if: github.repository_owner == 'runatlantis'
if: github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.fork == false
env:
TERRAFORM_VERSION: 1.8.3
ATLANTISBOT_GITHUB_USERNAME: ${{ secrets.ATLANTISBOT_GITHUB_USERNAME }}
Expand Down

0 comments on commit 3417886

Please sign in to comment.