Tweaks to CI (#33014)

* Tweak github actions to make Sonar & zizmor happier

* Apply filters on some pnpm install calls

* Remove stale setup-python step

* Add missing needs in complete job

* Remove repository_dispatch for everything bar develop CD

js-sdk now runs the tests downstream so this was unnecessary

* Fix prepare desktop for tests in merge queue

* Iterate

* Iterate

* Iterate

* Discard changes to .github/workflows/build_desktop_linux.yaml

* Discard changes to .github/workflows/build_desktop_macos.yaml
This commit is contained in:
Michael Telatynski
2026-04-09 12:34:52 +00:00
committed by GitHub
parent b4d0c21abf
commit f5ec194937
6 changed files with 10 additions and 9 deletions
@@ -31,7 +31,9 @@ runs:
- name: Move webapp to out-file-path - name: Move webapp to out-file-path
shell: bash shell: bash
run: mv ${{ runner.temp }}/download-verify-element-tarball/webapp ${{ inputs.out-file-path }} run: mv ${{ runner.temp }}/download-verify-element-tarball/webapp "$OUT_PATH"
env:
OUT_PATH: ${{ inputs.out-file-path }}
- name: Clean up temp directory - name: Clean up temp directory
shell: bash shell: bash
+1 -2
View File
@@ -18,8 +18,6 @@ on:
push: push:
# We do not build on push to develop as the merge_group check handles that # We do not build on push to develop as the merge_group check handles that
branches: [staging, master] branches: [staging, master]
repository_dispatch:
types: [element-web-notify]
# support triggering from other workflows # support triggering from other workflows
workflow_call: workflow_call:
@@ -246,6 +244,7 @@ jobs:
needs: needs:
- playwright_ew - playwright_ew
- downstream-modules - downstream-modules
- prepare_ed
- build_ed_windows - build_ed_windows
- build_ed_linux - build_ed_linux
- build_ed_macos - build_ed_macos
@@ -2,7 +2,9 @@
# It uploads the received images and diffs to netlify, printing the URLs to the console # It uploads the received images and diffs to netlify, printing the URLs to the console
name: Upload Shared Component Visual Test Diffs name: Upload Shared Component Visual Test Diffs
on: on:
workflow_run: # Privilege escalation necessary to deploy to Netlify
# 🚨 We must not execute any checked out code here.
workflow_run: # zizmor: ignore[dangerous-triggers]
workflows: ["Shared Component Visual Tests"] workflows: ["Shared Component Visual Tests"]
types: types:
- completed - completed
+3 -1
View File
@@ -1,6 +1,8 @@
name: SonarQube name: SonarQube
on: on:
workflow_run: # Privilege escalation necessary to call upon SonarCloud
# 🚨 We must not execute any checked out code here.
workflow_run: # zizmor: ignore[dangerous-triggers]
workflows: ["Tests"] workflows: ["Tests"]
types: types:
- completed - completed
-2
View File
@@ -5,8 +5,6 @@ on:
branches: [develop, master] branches: [develop, master]
merge_group: merge_group:
types: [checks_requested] types: [checks_requested]
repository_dispatch:
types: [element-web-notify]
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }} group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true cancel-in-progress: true
-2
View File
@@ -5,8 +5,6 @@ on:
types: [checks_requested] types: [checks_requested]
push: push:
branches: [develop, master] branches: [develop, master]
repository_dispatch:
types: [element-web-notify]
workflow_call: workflow_call:
inputs: inputs:
disable_coverage: disable_coverage: