Skip to content

Commit 533125d

Browse files
authored
Merge pull request #59342 from nextcloud/ci/cypress-contributors
ci(cypress): allow running on forks by removing Cypress cloud
2 parents 6ba57a7 + d6e6525 commit 533125d

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

.github/workflows/cypress.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,6 @@ jobs:
4141
PUPPETEER_SKIP_DOWNLOAD: true
4242

4343
steps:
44-
- name: Disabled on forks
45-
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
46-
run: |
47-
echo 'Can not run cypress on forks'
48-
exit 1
49-
5044
- name: Checkout server
5145
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5246
with:
@@ -176,10 +170,6 @@ jobs:
176170
# We already installed the dependencies in the init job
177171
install: false
178172
component: ${{ matrix.containers == 'component' }}
179-
group: ${{ matrix.use-cypress-cloud && matrix.containers == 'component' && 'Run component' || matrix.use-cypress-cloud && 'Run E2E' || '' }}
180-
# cypress env
181-
ci-build-id: ${{ matrix.use-cypress-cloud && format('{0}-{1}', github.sha, github.run_number) || '' }}
182-
tag: ${{ matrix.use-cypress-cloud && github.event_name || '' }}
183173
env:
184174
# Needs to be prefixed with CYPRESS_
185175
CYPRESS_BRANCH: ${{ env.BRANCH }}
@@ -188,7 +178,6 @@ jobs:
188178
# Needed for some specific code workarounds
189179
TESTING: true
190180
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
191-
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
192181
SPLIT: ${{ matrix.total-containers }}
193182
SPLIT_INDEX: ${{ matrix.containers == 'component' && 0 || matrix.containers }}
194183
SPLIT_RANDOM_SEED: ${{ github.run_id }}

0 commit comments

Comments
 (0)