Only add private SSH keys and clone submodules in the original repo (#3225)

This commit is contained in:
Jorge Martin Espinosa 2024-07-19 17:25:49 +02:00 committed by GitHub
parent 21553d757a
commit 5eef7c13b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 10 additions and 0 deletions

View file

@ -42,6 +42,7 @@ jobs:
enterprise:
name: Create App Bundle Enterprise
runs-on: ubuntu-latest
if: github.repository == 'element-hq/element-x-android'
concurrency:
group: ${{ format('build-release-main-gplay-{0}', github.sha) }}
cancel-in-progress: true
@ -49,6 +50,7 @@ jobs:
- uses: actions/checkout@v4
- name: Add SSH private keys for submodule repositories
uses: webfactory/ssh-agent@v0.9.0
if: github.repository == 'element-hq/element-x-android'
with:
ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }}
- name: Clone submodules