Skip to content

Commit c18e936

Browse files
authored
Don't run e2e tests on deploys to prod (#908)
By default most projects don't want junk data in production
1 parent 74dd5e9 commit c18e936

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ jobs:
6767
6868
e2e:
6969
name: " " # GitHub UI is noisy when calling reusable workflows, so use whitespace for name to reduce noise
70+
71+
# By default, don't run e2e tests on production to avoid generating
72+
# junk data that may interfere with production metrics and business operations
73+
if: inputs.environment != 'prod'
7074
needs: [deploy]
7175
uses: ./.github/workflows/e2e-tests.yml
7276
with:

0 commit comments

Comments
 (0)