forked from element-hq/element-x-android
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'element-hq:develop' into develop
- Loading branch information
Showing
27 changed files
with
294 additions
and
168 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 |
---|---|---|
|
@@ -6,14 +6,16 @@ jobs: | |
build: | ||
runs-on: ubuntu-latest | ||
name: Danger main check | ||
# Skip in forks, it doesn't work even with the fallback token | ||
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }} | ||
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 | ||
if: github.repository == 'element-hq/element-x-android' | ||
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 | ||
- 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.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }} | ||
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 |
---|---|---|
|
@@ -20,10 +20,11 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- name: Add SSH private keys for submodule repositories | ||
uses: webfactory/[email protected] | ||
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.repository == 'element-hq/element-x-android' | ||
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: Run code quality check suite | ||
run: ./tools/check/check_code_quality.sh | ||
|
@@ -77,10 +78,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/[email protected] | ||
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.repository == 'element-hq/element-x-android' | ||
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 17 | ||
uses: actions/setup-java@v4 | ||
|
@@ -116,10 +118,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/[email protected] | ||
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.repository == 'element-hq/element-x-android' | ||
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 17 | ||
uses: actions/setup-java@v4 | ||
|
@@ -159,10 +162,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/[email protected] | ||
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.repository == 'element-hq/element-x-android' | ||
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 17 | ||
uses: actions/setup-java@v4 | ||
|
@@ -198,10 +202,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/[email protected] | ||
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.repository == 'element-hq/element-x-android' | ||
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 17 | ||
uses: actions/setup-java@v4 | ||
|
@@ -237,10 +242,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/[email protected] | ||
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.repository == 'element-hq/element-x-android' | ||
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 17 | ||
uses: actions/setup-java@v4 | ||
|
@@ -271,6 +277,7 @@ jobs: | |
name: Project Check Suite | ||
runs-on: ubuntu-latest | ||
needs: [konsist, lint, ktlint, detekt] | ||
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
|
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 |
---|---|---|
|
@@ -42,13 +42,15 @@ jobs: | |
enterprise: | ||
name: Create App Bundle Enterprise | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }} | ||
concurrency: | ||
group: ${{ format('build-release-main-gplay-{0}', github.sha) }} | ||
cancel-in-progress: true | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Add SSH private keys for submodule repositories | ||
uses: webfactory/[email protected] | ||
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 | ||
|
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 |
---|---|---|
|
@@ -40,10 +40,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/[email protected] | ||
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.repository == 'element-hq/element-x-android' | ||
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 17 | ||
uses: actions/setup-java@v4 | ||
|
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
Oops, something went wrong.