Skip to content

Commit a20f848

Browse files
committed
chore(ci): run e2e tests only for users which are contributors
This is because we don't want ot publicly share InfluxDB Enterprise license key.
1 parent 6c8702d commit a20f848

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/chronograf-cypress-tests.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ on:
88

99
jobs:
1010
e2e:
11+
if: |
12+
github.event_name == 'push' ||
13+
(github.event_name == 'pull_request' && (
14+
github.event.pull_request.author_association == 'OWNER' ||
15+
github.event.pull_request.author_association == 'MEMBER' ||
16+
github.event.pull_request.author_association == 'COLLABORATOR'
17+
))
1118
runs-on: ubuntu-latest
1219
timeout-minutes: 30
1320
env:

0 commit comments

Comments
 (0)