Ensure EW/ED release workflows don't run for modules (#34557)

This commit is contained in:
Michael Telatynski
2026-08-04 13:36:33 +01:00
committed by GitHub
parent ed5f72f8cf
commit d40d3d81b5
3 changed files with 9 additions and 0 deletions
+4
View File
@@ -26,6 +26,10 @@ permissions: {}
jobs:
deploy:
name: "Deploy to Cloudflare Pages"
# Run if it's NOT a release, OR if it is a release and does NOT start with 'module/'
if: |
github.event_name != 'release' ||
!startsWith(github.event.release.tag_name, 'module/')
runs-on: ubuntu-24.04
environment: ${{ inputs.site || 'staging.element.io' }}
permissions: