ci: gate element-hq-only workflows on fork

Skip upstream deploy/publish/release, org automation, translations and
PR previews via a repo guard; allow PRs to release/* base branches.
This commit is contained in:
2026-06-28 09:44:07 +02:00
parent cf917c1ed5
commit bd6241ad9d
33 changed files with 65 additions and 88 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ on:
- completed
jobs:
deploy:
if: github.event.workflow_run.conclusion != 'cancelled' && github.event.workflow_run.event == 'pull_request'
if: ${{ github.repository == 'element-hq/element-web' && (github.event.workflow_run.conclusion != 'cancelled' && github.event.workflow_run.event == 'pull_request') }}
runs-on: ubuntu-24.04
environment: Netlify
permissions: