mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-29 01:48:32 +00:00
fix(worfklows): bypass e2e checks for forked prs (#4592)
Signed-off-by: Rui Chen <rui@chenrui.dev> Co-authored-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user