Commit Graph

348 Commits

Author SHA1 Message Date
Benoit Marty
716827e8bc Pin commit sha on GitHub actions (#4653)
* Use Git SHA instead of version.

* Use version instead of main branch.
2025-04-29 09:08:06 +02:00
renovate[bot]
ba959470d8 chore(deps): update danger/danger-js action to v13.0.4 (#4596)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-16 10:05:55 +02:00
Robin
3bd7fd85e4 Run the 'prevent blocked' workflow even if PR has conflicts (#4432)
See the description of pull_request versus pull_request_target documented at https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request.
2025-04-08 09:24:40 +02:00
Benoit Marty
246b97cb33 Remove nightly_enterprise.yml. (#4492) 2025-03-27 21:08:15 +01:00
Jorge Martin Espinosa
e2febabcf6 Use embedded version of Element Call (#4470)
* Use embedded version of Element Call: for in-app room calls, the app will use an embedded version of Element Call shipped with the app instead of using an external service.

* Remove `ElementCallBaseUrlProvider` so we don't use the Element well known file to get the base URL anymore

* Remove `ElementCallConfig.DEFAULT_BASE_URL` since it's not used anymore

* Restore the usage of the custom EC base URL in developer settings as the actual base URL, it present

* Add a way to customise the embedded EC analytic credentials

* Update CI to use the EC analytic credentials as secrets

* Improve the custom URL placeholder to include the `/room` suffix
2025-03-26 09:35:21 +01:00
renovate[bot]
9859734109 chore(deps): update rnkdsh/action-upload-diawi action to v1.5.8 (#4457)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-24 09:28:17 +01:00
Benoit Marty
00e46456b7 Just compile the nightly source. 2025-03-21 12:49:40 +01:00
Benoit Marty
a0105c3bd2 Ensure that release and nightly can be bundled. 2025-03-21 12:33:03 +01:00
renovate[bot]
253cec4ffc chore(deps): update webfactory/ssh-agent action to v0.9.1 2025-03-17 15:50:23 +00:00
Benoit Marty
f2695f61d6 Use ELEMENT_BOT_TOKEN_READ_ORG 2025-03-11 17:10:14 +01:00
Benoit Marty
0ff3d19c67 "Core Team" is a team of matrix-org. Use team "Vector Core" instead. 2025-03-11 13:57:59 +01:00
Benoit Marty
40990abf0b Forbid develop branch fork contributions 2025-03-10 09:58:11 +01:00
Benoit Marty
afc46676a0 Automatically add label 'Z-Community-PR' to community PRs. 2025-03-10 09:57:57 +01:00
Benoit Marty
5f66d8c220 Rename file blocked.yml to pull_request.yml 2025-03-10 09:57:46 +01:00
ganfra
7cdc26299d Merge pull request #4354 from element-hq/renovate/rnkdsh-action-upload-diawi-1.x
Update rnkdsh/action-upload-diawi action to v1.5.7
2025-03-07 09:48:06 +01:00
renovate[bot]
9e661c56e4 Update rnkdsh/action-upload-diawi action to v1.5.7 2025-03-04 11:50:25 +00:00
Benoit Marty
dc48505032 Merge pull request #4350 from robintown/prevent-blocked
Prevent PRs with the X-Blocked label from being merged
2025-03-04 12:49:54 +01:00
Benoit Marty
3304689289 Fix typo on job name. 2025-03-04 09:57:14 +01:00
Robin
27247565a6 Prevent PRs with the X-Blocked label from being merged
Just a small CI suggestion: X-Blocked is useful for requesting review on a change while ensuring it won't be merged until all external dependencies are accounted for, and it'd be nice to have this enforced more consistently across the org.
Adapted from matrix-js-sdk (https://github.com/matrix-org/matrix-js-sdk/blob/develop/.github/workflows/pull_request.yaml)
2025-03-03 21:57:03 -05:00
Jorge Martin Espinosa
28b8b4539a runQualityChecks task shouldn't fail fast (#4309)
* `runQualityChecks` task shouldn't fail fast

Make sure we run every task it depends on so we get a list with all the issues instead of having to retry several times.

* Tweak `runQualityChecks` to make sure all Android lint tasks run

* Use the right check in the quality flow

* Fix Norwegian translations that caused a `Typos` error
2025-02-26 18:34:15 +01:00
renovate[bot]
9be8c20bfc chore(deps): update danger/danger-js action to v12.3.4 2025-02-11 17:03:08 +00:00
Benoit Marty
45b81c67b8 Merge pull request #4173 from element-hq/renovate/rnkdsh-action-upload-diawi-1.x
Update rnkdsh/action-upload-diawi action to v1.5.6
2025-02-03 18:42:26 +01:00
Jorge Martin Espinosa
c935783a78 Use secret Sentry DSN value (#4210)
* Use secret Sentry DSN value.

We realised our DSN entry has been shipped along with the code and it was being used in several forks as is, resulting in wrong bug reports coming into our Sentry dashboard and making it very hard to debug actual issues in the app.
2025-01-29 13:47:06 +01:00
renovate[bot]
91d0326bbf Update rnkdsh/action-upload-diawi action to v1.5.6 2025-01-20 08:45:01 +00:00
Jorge Martin Espinosa
d5c0a00a0c Make Maestro run for each PR push (#4121)
- Remove the `workflow_run` configuration for the Maestro job.
- Make the 'build apk' job always run again too.
- Make sure the test results are uploaded when the Maestro job fails too (this broke somehow).
2025-01-13 21:06:59 +01:00
Jorge Martin Espinosa
40699dd3fa Test using Maestro CLI + emulator instead of Cloud (#4092)
Add Maestro local CI workflow:
- Remove previous Maestro Cloud.
- Use an emulator with Pixel 7 Pro - API 35.
- Allow to record several videos in the background to verify the run.
- Upload test results.
- Allow either dispatching a new flow, running the 'build apk' job or run with a PR after the 'Build APK' flow has succeeded.
2025-01-07 14:05:14 +01:00
Benoit Marty
05fc76822a Apply dual licenses: AGPL + Element Commercial to file headers.
2 replace all actions have been performed:
- "SPDX-License-Identifier: AGPL-3.0-only" to "SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial"
- "Please see LICENSE in the repository root for full details." to "Please see LICENSE files in the repository root for full details."
2025-01-07 10:05:04 +01:00
renovate[bot]
57fcfb3f98 Update nschloe/action-cached-lfs-checkout action to v1.2.3 2024-12-10 15:01:25 +00:00
renovate[bot]
87feb56d25 Update mobile-dev-inc/action-maestro-cloud action to v1.9.7 2024-11-21 11:36:48 +00:00
renovate[bot]
db5eed14d2 Update codecov/codecov-action action to v5 2024-11-14 20:09:13 +00:00
Benoit Marty
cfc093b401 Remove :samples:minimal module 2024-11-14 09:06:13 +01:00
renovate[bot]
67ee59d8e7 Update mobile-dev-inc/action-maestro-cloud action to v1.9.6 2024-11-08 20:00:19 +00:00
renovate[bot]
bd55659efb Update mobile-dev-inc/action-maestro-cloud action to v1.9.4 (#3820)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-07 11:42:09 +01:00
renovate[bot]
8708daee67 chore(deps): update mobile-dev-inc/action-maestro-cloud action to v1.9.2 2024-10-10 01:02:21 +00:00
Benoit Marty
a8eeae65c4 Ensure the CI compile and execute all the unit tests. 2024-10-07 17:20:40 +02:00
Benoit Marty
f1e3824fe4 Revert "Ensure the CI compile and execute all the unit tests."
This reverts commit dab91ade17.
2024-10-07 17:19:57 +02:00
Benoit Marty
dab91ade17 Ensure the CI compile and execute all the unit tests. 2024-10-07 17:18:53 +02:00
Jorge Martín
f818b28a06 Fix screenshot recording in CI 2024-10-04 15:53:14 +02:00
Jorge Martin Espinosa
8c97e05733 Disable configuration cache in the CI by default (#3601) 2024-10-04 13:57:46 +02:00
Jorge Martin Espinosa
0350a95672 Merge unit, screenshot tests and coverage in a single CI call (#3593)
* Merge unit, screenshot tests and coverage tasks in a single CI call

* Disable gradle daemon too since it's all in a single gradle call now

* Make Kover upload the HTML reports on failure too
2024-10-03 15:38:08 +02:00
Jorge Martin Espinosa
60f1bf6e54 Upgrade the used JDK in the project to v21 (#3582)
* Upgrade the used JDK in the project to v21

* Use it for CI too

* Centralise java language version

* Fix deprecations, tests and lint issues

* Fix coverage taking into account `@Preview` annotated code.

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-10-03 09:38:03 +00:00
Jorge Martin Espinosa
4a43fcb69a Use Anvil KSP instead of the Square KAPT one (#3564)
* Use Anvil KSP instead of the Square KAPT one

* Fix several configuration cache, lint and test issues

* Allow incremental kotlin compilation in the CI

* Workaround Robolectric + Compose issue that caused `AppNotIdleException`

* Update the `enterprise` commit hash

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2024-10-02 11:52:17 +00:00
renovate[bot]
8661aadd5f Update gradle-update/update-gradle-wrapper-action action to v2 2024-09-26 18:31:03 +00:00
Benoit Marty
5ec61619e1 Change ElementBot mail to android@element.io 2024-09-19 11:22:58 +02:00
ganfra
96f8e097bd Merge pull request #3383 from element-hq/renovate/peter-evans-create-pull-request-7.x
Update peter-evans/create-pull-request action to v7
2024-09-10 12:48:46 +02:00
Benoit Marty
e21938933e Migrate license to AGPL - sh files. 2024-09-06 17:52:37 +02:00
Jorge Martin Espinosa
199893c701 Try adding a memory limit for the kotlin compiler (#3377)
* Try adding a memory limit for the kotlin compiler

* Tweak values for all flows
2024-09-04 19:33:50 +00:00
renovate[bot]
fe982fd273 Update peter-evans/create-pull-request action to v7 2024-09-03 08:18:58 +00:00
renovate[bot]
69f6e382e7 Update mobile-dev-inc/action-maestro-cloud action to v1.9.1 2024-09-02 15:17:25 +00:00
ganfra
2beac61bb4 Release : use a different concurrency group for enterprise build. 2024-08-28 17:01:36 +02:00