Revert "Disable cron jobs and private SSH key jobs in forks" (#6905)

This reverts commit ab4b11b9f0.
This commit is contained in:
Jorge Martin Espinosa
2026-05-28 09:56:07 +02:00
committed by GitHub
parent ab4b11b9f0
commit f871252573
9 changed files with 22 additions and 27 deletions
+2 -5
View File
@@ -56,11 +56,11 @@ jobs:
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref }}
- name: Add SSH private keys for submodule repositories
uses: webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555 # v0.10.0
if: ${{ github.event.repository.fork != true }}
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }}
with:
ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }}
- name: Clone submodules
if: ${{ github.event.repository.fork != true }}
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }}
run: git submodule update --init --recursive
- name: ☕️ Use JDK 21
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
@@ -109,9 +109,6 @@ jobs:
# https://github.com/codecov/codecov-action
- name: ☂️ Upload coverage reports to codecov
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
env:
HAS_TOKEN: ${{ secrets.CODECOV_TOKEN != ''}}
if: ${{ env.HAS_TOKEN == 'true' }}
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}