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
+2
View File
@@ -13,6 +13,7 @@ concurrency:
jobs:
build:
if: ${{ github.repository == 'element-hq/element-web' }}
name: GitHub Pages
runs-on: ubuntu-24.04
steps:
@@ -41,6 +42,7 @@ jobs:
path: ./docs/.vitepress/dist
deploy:
if: ${{ github.repository == 'element-hq/element-web' }}
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}