-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
12 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,16 +7,14 @@ jobs: | |
runs-on: ubuntu-latest | ||
name: Danger main check | ||
# Skip in forks, it doesn't work even with the fallback token | ||
if: ${{ github.repository == 'element-hq/element-x-android' }} | ||
if: ${{ github.repository == 'element-hq/element-x-android' && ('pull_request' != github.event_name || github.event.pull_request.head.repo.full_name == github.repository) }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Add SSH private keys for submodule repositories | ||
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }} | ||
- name: Clone submodules | ||
# Skip in forks | ||
if: ${{ github.repository == 'element-hq/element-x-android' }} | ||
run: git submodule update --init --recursive | ||
- run: | | ||
npm install --save-dev @babel/plugin-transform-flow-strip-types | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ jobs: | |
generate-github-pages: | ||
runs-on: ubuntu-latest | ||
# Skip in forks | ||
if: ${{ github.repository == 'element-hq/element-x-android' }} | ||
if: ${{ github.repository == 'element-hq/element-x-android' && ('pull_request' != github.event_name || github.event.pull_request.head.repo.full_name == github.repository) }} | ||
steps: | ||
- name: ⏬ Checkout with LFS | ||
uses: nschloe/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,12 +21,12 @@ jobs: | |
- name: Add SSH private keys for submodule repositories | ||
uses: webfactory/[email protected] | ||
# Skip in forks | ||
if: ${{ github.repository == 'element-hq/element-x-android' }} | ||
if: ${{ github.repository == 'element-hq/element-x-android' && ('pull_request' != github.event_name || github.event.pull_request.head.repo.full_name == github.repository) }} | ||
with: | ||
ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }} | ||
- name: Clone submodules | ||
# Skip in forks | ||
if: ${{ github.repository == 'element-hq/element-x-android' }} | ||
if: ${{ github.repository == 'element-hq/element-x-android' && ('pull_request' != github.event_name || github.event.pull_request.head.repo.full_name == github.repository) }} | ||
run: git submodule update --init --recursive | ||
- name: Run code quality check suite | ||
run: ./tools/check/check_code_quality.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ jobs: | |
name: Create App Bundle Enterprise | ||
runs-on: ubuntu-latest | ||
# Skip in forks | ||
if: ${{ github.repository == 'element-hq/element-x-android' }} | ||
if: ${{ github.repository == 'element-hq/element-x-android' && ('pull_request' != github.event_name || github.event.pull_request.head.repo.full_name == github.repository) }} | ||
concurrency: | ||
group: ${{ format('build-release-main-enterprise-{0}', github.sha) }} | ||
cancel-in-progress: true | ||
|
@@ -52,7 +52,7 @@ jobs: | |
- name: Add SSH private keys for submodule repositories | ||
uses: webfactory/[email protected] | ||
# Skip in forks | ||
if: ${{ github.repository == 'element-hq/element-x-android' }} | ||
if: ${{ github.repository == 'element-hq/element-x-android' && ('pull_request' != github.event_name || github.event.pull_request.head.repo.full_name == github.repository) }} | ||
with: | ||
ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }} | ||
- name: Clone submodules | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,12 +41,12 @@ jobs: | |
- name: Add SSH private keys for submodule repositories | ||
uses: webfactory/[email protected] | ||
# Skip in forks | ||
if: ${{ github.repository == 'element-hq/element-x-android' }} | ||
if: ${{ github.repository == 'element-hq/element-x-android' && ('pull_request' != github.event_name || github.event.pull_request.head.repo.full_name == github.repository) }} | ||
with: | ||
ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }} | ||
- name: Clone submodules | ||
# Skip in forks | ||
if: ${{ github.repository == 'element-hq/element-x-android' }} | ||
if: ${{ github.repository == 'element-hq/element-x-android' && ('pull_request' != github.event_name || github.event.pull_request.head.repo.full_name == github.repository) }} | ||
run: git submodule update --init --recursive | ||
- name: ☕️ Use JDK 21 | ||
uses: actions/setup-java@v4 | ||
|